@azure/arm-hybridconnectivity 1.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 (143) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/LICENSE +21 -0
  3. package/README.md +108 -0
  4. package/dist/index.js +1809 -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/samples-dev/endpointsCreateOrUpdateSample.d.ts +2 -0
  9. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.d.ts.map +1 -0
  10. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js +63 -0
  11. package/dist-esm/samples-dev/endpointsCreateOrUpdateSample.js.map +1 -0
  12. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/endpointsDeleteSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/endpointsDeleteSample.js +37 -0
  15. package/dist-esm/samples-dev/endpointsDeleteSample.js.map +1 -0
  16. package/dist-esm/samples-dev/endpointsGetSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/endpointsGetSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/endpointsGetSample.js +54 -0
  19. package/dist-esm/samples-dev/endpointsGetSample.js.map +1 -0
  20. package/dist-esm/samples-dev/endpointsListCredentialsSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/endpointsListCredentialsSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/endpointsListCredentialsSample.js +43 -0
  23. package/dist-esm/samples-dev/endpointsListCredentialsSample.js.map +1 -0
  24. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.d.ts +2 -0
  25. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.d.ts.map +1 -0
  26. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.js +41 -0
  27. package/dist-esm/samples-dev/endpointsListIngressGatewayCredentialsSample.js.map +1 -0
  28. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.d.ts +2 -0
  29. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.d.ts.map +1 -0
  30. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.js +42 -0
  31. package/dist-esm/samples-dev/endpointsListManagedProxyDetailsSample.js.map +1 -0
  32. package/dist-esm/samples-dev/endpointsListSample.d.ts +2 -0
  33. package/dist-esm/samples-dev/endpointsListSample.d.ts.map +1 -0
  34. package/dist-esm/samples-dev/endpointsListSample.js +57 -0
  35. package/dist-esm/samples-dev/endpointsListSample.js.map +1 -0
  36. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts +2 -0
  37. package/dist-esm/samples-dev/endpointsUpdateSample.d.ts.map +1 -0
  38. package/dist-esm/samples-dev/endpointsUpdateSample.js +40 -0
  39. package/dist-esm/samples-dev/endpointsUpdateSample.js.map +1 -0
  40. package/dist-esm/samples-dev/operationsListSample.d.ts +2 -0
  41. package/dist-esm/samples-dev/operationsListSample.d.ts.map +1 -0
  42. package/dist-esm/samples-dev/operationsListSample.js +56 -0
  43. package/dist-esm/samples-dev/operationsListSample.js.map +1 -0
  44. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.d.ts +2 -0
  45. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.d.ts.map +1 -0
  46. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.js +64 -0
  47. package/dist-esm/samples-dev/serviceConfigurationsCreateOrupdateSample.js.map +1 -0
  48. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.d.ts +2 -0
  49. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.d.ts.map +1 -0
  50. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.js +38 -0
  51. package/dist-esm/samples-dev/serviceConfigurationsDeleteSample.js.map +1 -0
  52. package/dist-esm/samples-dev/serviceConfigurationsGetSample.d.ts +2 -0
  53. package/dist-esm/samples-dev/serviceConfigurationsGetSample.d.ts.map +1 -0
  54. package/dist-esm/samples-dev/serviceConfigurationsGetSample.js +56 -0
  55. package/dist-esm/samples-dev/serviceConfigurationsGetSample.js.map +1 -0
  56. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.d.ts +2 -0
  57. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.d.ts.map +1 -0
  58. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.js +58 -0
  59. package/dist-esm/samples-dev/serviceConfigurationsListByEndpointResourceSample.js.map +1 -0
  60. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.d.ts +2 -0
  61. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.d.ts.map +1 -0
  62. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.js +41 -0
  63. package/dist-esm/samples-dev/serviceConfigurationsUpdateSample.js.map +1 -0
  64. package/dist-esm/src/hybridConnectivityManagementAPI.d.ts +20 -0
  65. package/dist-esm/src/hybridConnectivityManagementAPI.d.ts.map +1 -0
  66. package/dist-esm/src/hybridConnectivityManagementAPI.js +96 -0
  67. package/dist-esm/src/hybridConnectivityManagementAPI.js.map +1 -0
  68. package/dist-esm/src/index.d.ts +6 -0
  69. package/dist-esm/src/index.d.ts.map +1 -0
  70. package/dist-esm/src/index.js +13 -0
  71. package/dist-esm/src/index.js.map +1 -0
  72. package/dist-esm/src/models/index.d.ts +477 -0
  73. package/dist-esm/src/models/index.d.ts.map +1 -0
  74. package/dist-esm/src/models/index.js +66 -0
  75. package/dist-esm/src/models/index.js.map +1 -0
  76. package/dist-esm/src/models/mappers.d.ts +23 -0
  77. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  78. package/dist-esm/src/models/mappers.js +631 -0
  79. package/dist-esm/src/models/mappers.js.map +1 -0
  80. package/dist-esm/src/models/parameters.d.ts +17 -0
  81. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  82. package/dist-esm/src/models/parameters.js +135 -0
  83. package/dist-esm/src/models/parameters.js.map +1 -0
  84. package/dist-esm/src/operations/endpoints.d.ts +97 -0
  85. package/dist-esm/src/operations/endpoints.d.ts.map +1 -0
  86. package/dist-esm/src/operations/endpoints.js +370 -0
  87. package/dist-esm/src/operations/endpoints.js.map +1 -0
  88. package/dist-esm/src/operations/index.d.ts +4 -0
  89. package/dist-esm/src/operations/index.d.ts.map +1 -0
  90. package/dist-esm/src/operations/index.js +11 -0
  91. package/dist-esm/src/operations/index.js.map +1 -0
  92. package/dist-esm/src/operations/operations.d.ts +32 -0
  93. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  94. package/dist-esm/src/operations/operations.js +138 -0
  95. package/dist-esm/src/operations/operations.js.map +1 -0
  96. package/dist-esm/src/operations/serviceConfigurations.d.ts +79 -0
  97. package/dist-esm/src/operations/serviceConfigurations.d.ts.map +1 -0
  98. package/dist-esm/src/operations/serviceConfigurations.js +304 -0
  99. package/dist-esm/src/operations/serviceConfigurations.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/endpoints.d.ts +72 -0
  101. package/dist-esm/src/operationsInterfaces/endpoints.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/endpoints.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/endpoints.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  105. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  107. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  109. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/serviceConfigurations.d.ts +52 -0
  113. package/dist-esm/src/operationsInterfaces/serviceConfigurations.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/serviceConfigurations.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/serviceConfigurations.js.map +1 -0
  116. package/dist-esm/src/pagingHelper.d.ts +13 -0
  117. package/dist-esm/src/pagingHelper.d.ts.map +1 -0
  118. package/dist-esm/src/pagingHelper.js +32 -0
  119. package/dist-esm/src/pagingHelper.js.map +1 -0
  120. package/dist-esm/test/hybridconnectivity_operations_test.spec.d.ts +4 -0
  121. package/dist-esm/test/hybridconnectivity_operations_test.spec.d.ts.map +1 -0
  122. package/dist-esm/test/hybridconnectivity_operations_test.spec.js +122 -0
  123. package/dist-esm/test/hybridconnectivity_operations_test.spec.js.map +1 -0
  124. package/package.json +122 -0
  125. package/review/arm-hybridconnectivity.api.md +388 -0
  126. package/rollup.config.js +122 -0
  127. package/src/hybridConnectivityManagementAPI.ts +144 -0
  128. package/src/index.ts +13 -0
  129. package/src/models/index.ts +552 -0
  130. package/src/models/mappers.ts +664 -0
  131. package/src/models/parameters.ts +162 -0
  132. package/src/operations/endpoints.ts +469 -0
  133. package/src/operations/index.ts +11 -0
  134. package/src/operations/operations.ts +149 -0
  135. package/src/operations/serviceConfigurations.ts +401 -0
  136. package/src/operationsInterfaces/endpoints.ts +132 -0
  137. package/src/operationsInterfaces/index.ts +11 -0
  138. package/src/operationsInterfaces/operations.ts +22 -0
  139. package/src/operationsInterfaces/serviceConfigurations.ts +98 -0
  140. package/src/pagingHelper.ts +39 -0
  141. package/tsconfig.json +33 -0
  142. package/types/arm-hybridconnectivity.d.ts +700 -0
  143. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Operations } from "../operationsInterfaces";
3
+ import { HybridConnectivityManagementAPI } from "../hybridConnectivityManagementAPI";
4
+ import { Operation, OperationsListOptionalParams } from "../models";
5
+ /** Class containing Operations operations. */
6
+ export declare class OperationsImpl implements Operations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Operations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: HybridConnectivityManagementAPI);
13
+ /**
14
+ * Lists the available Hybrid Connectivity REST API operations.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: OperationsListOptionalParams): PagedAsyncIterableIterator<Operation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Lists the available Hybrid Connectivity REST API operations.
22
+ * @param options The options parameters.
23
+ */
24
+ private _list;
25
+ /**
26
+ * ListNext
27
+ * @param nextLink The nextLink from the previous successful call to the List method.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listNext;
31
+ }
32
+ //# sourceMappingURL=operations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.d.ts","sourceRoot":"","sources":["../../../src/operations/operations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AAIrD,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EACL,SAAS,EAET,4BAA4B,EAG7B,MAAM,WAAW,CAAC;AAGnB,8CAA8C;AAC9C,qBAAa,cAAe,YAAW,UAAU;IAC/C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,4BAA4B,GACrC,0BAA0B,CAAC,SAAS,CAAC;YAkBzB,cAAc;YAsBd,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}
@@ -0,0 +1,138 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing Operations operations. */
15
+ export class OperationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class Operations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * Lists the available Hybrid Connectivity REST API operations.
25
+ * @param options The options parameters.
26
+ */
27
+ list(options) {
28
+ const iter = this.listPagingAll(options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: (settings) => {
37
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
38
+ throw new Error("maxPageSize is not supported by this operation.");
39
+ }
40
+ return this.listPagingPage(options, settings);
41
+ }
42
+ };
43
+ }
44
+ listPagingPage(options, settings) {
45
+ return __asyncGenerator(this, arguments, function* listPagingPage_1() {
46
+ let result;
47
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
48
+ if (!continuationToken) {
49
+ result = yield __await(this._list(options));
50
+ let page = result.value || [];
51
+ continuationToken = result.nextLink;
52
+ setContinuationToken(page, continuationToken);
53
+ yield yield __await(page);
54
+ }
55
+ while (continuationToken) {
56
+ result = yield __await(this._listNext(continuationToken, options));
57
+ continuationToken = result.nextLink;
58
+ let page = result.value || [];
59
+ setContinuationToken(page, continuationToken);
60
+ yield yield __await(page);
61
+ }
62
+ });
63
+ }
64
+ listPagingAll(options) {
65
+ return __asyncGenerator(this, arguments, function* listPagingAll_1() {
66
+ var _a, e_1, _b, _c;
67
+ try {
68
+ for (var _d = true, _e = __asyncValues(this.listPagingPage(options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
69
+ _c = _f.value;
70
+ _d = false;
71
+ try {
72
+ const page = _c;
73
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
74
+ }
75
+ finally {
76
+ _d = true;
77
+ }
78
+ }
79
+ }
80
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
81
+ finally {
82
+ try {
83
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
84
+ }
85
+ finally { if (e_1) throw e_1.error; }
86
+ }
87
+ });
88
+ }
89
+ /**
90
+ * Lists the available Hybrid Connectivity REST API operations.
91
+ * @param options The options parameters.
92
+ */
93
+ _list(options) {
94
+ return this.client.sendOperationRequest({ options }, listOperationSpec);
95
+ }
96
+ /**
97
+ * ListNext
98
+ * @param nextLink The nextLink from the previous successful call to the List method.
99
+ * @param options The options parameters.
100
+ */
101
+ _listNext(nextLink, options) {
102
+ return this.client.sendOperationRequest({ nextLink, options }, listNextOperationSpec);
103
+ }
104
+ }
105
+ // Operation Specifications
106
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
107
+ const listOperationSpec = {
108
+ path: "/providers/Microsoft.HybridConnectivity/operations",
109
+ httpMethod: "GET",
110
+ responses: {
111
+ 200: {
112
+ bodyMapper: Mappers.OperationListResult
113
+ },
114
+ default: {
115
+ bodyMapper: Mappers.ErrorResponse
116
+ }
117
+ },
118
+ queryParameters: [Parameters.apiVersion],
119
+ urlParameters: [Parameters.$host],
120
+ headerParameters: [Parameters.accept],
121
+ serializer
122
+ };
123
+ const listNextOperationSpec = {
124
+ path: "{nextLink}",
125
+ httpMethod: "GET",
126
+ responses: {
127
+ 200: {
128
+ bodyMapper: Mappers.OperationListResult
129
+ },
130
+ default: {
131
+ bodyMapper: Mappers.ErrorResponse
132
+ }
133
+ },
134
+ urlParameters: [Parameters.$host, Parameters.nextLink],
135
+ headerParameters: [Parameters.accept],
136
+ serializer
137
+ };
138
+ //# sourceMappingURL=operations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operations.js","sourceRoot":"","sources":["../../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AoD;IAC1D,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC;IACjC,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,qBAAqB,GAA6B;IACtD,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,mBAAmB;SACxC;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,UAAU,CAAC,QAAQ,CAAC;IACtD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,79 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ServiceConfigurations } from "../operationsInterfaces";
3
+ import { HybridConnectivityManagementAPI } from "../hybridConnectivityManagementAPI";
4
+ import { ServiceConfigurationResource, ServiceConfigurationsListByEndpointResourceOptionalParams, ServiceConfigurationsGetOptionalParams, ServiceConfigurationsGetResponse, ServiceConfigurationsCreateOrupdateOptionalParams, ServiceConfigurationsCreateOrupdateResponse, ServiceConfigurationResourcePatch, ServiceConfigurationsUpdateOptionalParams, ServiceConfigurationsUpdateResponse, ServiceConfigurationsDeleteOptionalParams } from "../models";
5
+ /** Class containing ServiceConfigurations operations. */
6
+ export declare class ServiceConfigurationsImpl implements ServiceConfigurations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ServiceConfigurations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: HybridConnectivityManagementAPI);
13
+ /**
14
+ * API to enumerate registered services in service configurations under a Endpoint Resource
15
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
16
+ * connected.
17
+ * @param endpointName The endpoint name.
18
+ * @param options The options parameters.
19
+ */
20
+ listByEndpointResource(resourceUri: string, endpointName: string, options?: ServiceConfigurationsListByEndpointResourceOptionalParams): PagedAsyncIterableIterator<ServiceConfigurationResource>;
21
+ private listByEndpointResourcePagingPage;
22
+ private listByEndpointResourcePagingAll;
23
+ /**
24
+ * API to enumerate registered services in service configurations under a Endpoint Resource
25
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
26
+ * connected.
27
+ * @param endpointName The endpoint name.
28
+ * @param options The options parameters.
29
+ */
30
+ private _listByEndpointResource;
31
+ /**
32
+ * Gets the details about the service to the resource.
33
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
34
+ * connected.
35
+ * @param endpointName The endpoint name.
36
+ * @param serviceConfigurationName The service name.
37
+ * @param options The options parameters.
38
+ */
39
+ get(resourceUri: string, endpointName: string, serviceConfigurationName: string, options?: ServiceConfigurationsGetOptionalParams): Promise<ServiceConfigurationsGetResponse>;
40
+ /**
41
+ * Create or update a service in serviceConfiguration for the endpoint resource.
42
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
43
+ * connected.
44
+ * @param endpointName The endpoint name.
45
+ * @param serviceConfigurationName The service name.
46
+ * @param serviceConfigurationResource Service details
47
+ * @param options The options parameters.
48
+ */
49
+ createOrupdate(resourceUri: string, endpointName: string, serviceConfigurationName: string, serviceConfigurationResource: ServiceConfigurationResource, options?: ServiceConfigurationsCreateOrupdateOptionalParams): Promise<ServiceConfigurationsCreateOrupdateResponse>;
50
+ /**
51
+ * Update the service details in the service configurations of the target resource.
52
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
53
+ * connected.
54
+ * @param endpointName The endpoint name.
55
+ * @param serviceConfigurationName The service name.
56
+ * @param serviceConfigurationResource Service details
57
+ * @param options The options parameters.
58
+ */
59
+ update(resourceUri: string, endpointName: string, serviceConfigurationName: string, serviceConfigurationResource: ServiceConfigurationResourcePatch, options?: ServiceConfigurationsUpdateOptionalParams): Promise<ServiceConfigurationsUpdateResponse>;
60
+ /**
61
+ * Deletes the service details to the target resource.
62
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
63
+ * connected.
64
+ * @param endpointName The endpoint name.
65
+ * @param serviceConfigurationName The service name.
66
+ * @param options The options parameters.
67
+ */
68
+ delete(resourceUri: string, endpointName: string, serviceConfigurationName: string, options?: ServiceConfigurationsDeleteOptionalParams): Promise<void>;
69
+ /**
70
+ * ListByEndpointResourceNext
71
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
72
+ * connected.
73
+ * @param endpointName The endpoint name.
74
+ * @param nextLink The nextLink from the previous successful call to the ListByEndpointResource method.
75
+ * @param options The options parameters.
76
+ */
77
+ private _listByEndpointResourceNext;
78
+ }
79
+ //# sourceMappingURL=serviceConfigurations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceConfigurations.d.ts","sourceRoot":"","sources":["../../../src/operations/serviceConfigurations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAgB,MAAM,oBAAoB,CAAC;AAE9E,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAIhE,OAAO,EAAE,+BAA+B,EAAE,MAAM,oCAAoC,CAAC;AACrF,OAAO,EACL,4BAA4B,EAE5B,yDAAyD,EAEzD,sCAAsC,EACtC,gCAAgC,EAChC,iDAAiD,EACjD,2CAA2C,EAC3C,iCAAiC,EACjC,yCAAyC,EACzC,mCAAmC,EACnC,yCAAyC,EAE1C,MAAM,WAAW,CAAC;AAGnB,yDAAyD;AACzD,qBAAa,yBAA0B,YAAW,qBAAqB;IACrE,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAkC;IAEzD;;;OAGG;gBACS,MAAM,EAAE,+BAA+B;IAInD;;;;;;OAMG;IACI,sBAAsB,CAC3B,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,yDAAyD,GAClE,0BAA0B,CAAC,4BAA4B,CAAC;YA2B5C,gCAAgC;YAiChC,+BAA+B;IAc9C;;;;;;OAMG;IACH,OAAO,CAAC,uBAAuB;IAW/B;;;;;;;OAOG;IACH,GAAG,CACD,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,sCAAsC,GAC/C,OAAO,CAAC,gCAAgC,CAAC;IAO5C;;;;;;;;OAQG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,wBAAwB,EAAE,MAAM,EAChC,4BAA4B,EAAE,4BAA4B,EAC1D,OAAO,CAAC,EAAE,iDAAiD,GAC1D,OAAO,CAAC,2CAA2C,CAAC;IAavD;;;;;;;;OAQG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,wBAAwB,EAAE,MAAM,EAChC,4BAA4B,EAAE,iCAAiC,EAC/D,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,mCAAmC,CAAC;IAa/C;;;;;;;OAOG;IACH,MAAM,CACJ,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,wBAAwB,EAAE,MAAM,EAChC,OAAO,CAAC,EAAE,yCAAyC,GAClD,OAAO,CAAC,IAAI,CAAC;IAOhB;;;;;;;OAOG;IACH,OAAO,CAAC,2BAA2B;CAWpC"}
@@ -0,0 +1,304 @@
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
+ import { __asyncDelegator, __asyncGenerator, __asyncValues, __await } from "tslib";
9
+ import { setContinuationToken } from "../pagingHelper";
10
+ import * as coreClient from "@azure/core-client";
11
+ import * as Mappers from "../models/mappers";
12
+ import * as Parameters from "../models/parameters";
13
+ /// <reference lib="esnext.asynciterable" />
14
+ /** Class containing ServiceConfigurations operations. */
15
+ export class ServiceConfigurationsImpl {
16
+ /**
17
+ * Initialize a new instance of the class ServiceConfigurations class.
18
+ * @param client Reference to the service client
19
+ */
20
+ constructor(client) {
21
+ this.client = client;
22
+ }
23
+ /**
24
+ * API to enumerate registered services in service configurations under a Endpoint Resource
25
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
26
+ * connected.
27
+ * @param endpointName The endpoint name.
28
+ * @param options The options parameters.
29
+ */
30
+ listByEndpointResource(resourceUri, endpointName, options) {
31
+ const iter = this.listByEndpointResourcePagingAll(resourceUri, endpointName, options);
32
+ return {
33
+ next() {
34
+ return iter.next();
35
+ },
36
+ [Symbol.asyncIterator]() {
37
+ return this;
38
+ },
39
+ byPage: (settings) => {
40
+ if (settings === null || settings === void 0 ? void 0 : settings.maxPageSize) {
41
+ throw new Error("maxPageSize is not supported by this operation.");
42
+ }
43
+ return this.listByEndpointResourcePagingPage(resourceUri, endpointName, options, settings);
44
+ }
45
+ };
46
+ }
47
+ listByEndpointResourcePagingPage(resourceUri, endpointName, options, settings) {
48
+ return __asyncGenerator(this, arguments, function* listByEndpointResourcePagingPage_1() {
49
+ let result;
50
+ let continuationToken = settings === null || settings === void 0 ? void 0 : settings.continuationToken;
51
+ if (!continuationToken) {
52
+ result = yield __await(this._listByEndpointResource(resourceUri, endpointName, options));
53
+ let page = result.value || [];
54
+ continuationToken = result.nextLink;
55
+ setContinuationToken(page, continuationToken);
56
+ yield yield __await(page);
57
+ }
58
+ while (continuationToken) {
59
+ result = yield __await(this._listByEndpointResourceNext(resourceUri, endpointName, continuationToken, options));
60
+ continuationToken = result.nextLink;
61
+ let page = result.value || [];
62
+ setContinuationToken(page, continuationToken);
63
+ yield yield __await(page);
64
+ }
65
+ });
66
+ }
67
+ listByEndpointResourcePagingAll(resourceUri, endpointName, options) {
68
+ return __asyncGenerator(this, arguments, function* listByEndpointResourcePagingAll_1() {
69
+ var _a, e_1, _b, _c;
70
+ try {
71
+ for (var _d = true, _e = __asyncValues(this.listByEndpointResourcePagingPage(resourceUri, endpointName, options)), _f; _f = yield __await(_e.next()), _a = _f.done, !_a;) {
72
+ _c = _f.value;
73
+ _d = false;
74
+ try {
75
+ const page = _c;
76
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
77
+ }
78
+ finally {
79
+ _d = true;
80
+ }
81
+ }
82
+ }
83
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
84
+ finally {
85
+ try {
86
+ if (!_d && !_a && (_b = _e.return)) yield __await(_b.call(_e));
87
+ }
88
+ finally { if (e_1) throw e_1.error; }
89
+ }
90
+ });
91
+ }
92
+ /**
93
+ * API to enumerate registered services in service configurations under a Endpoint Resource
94
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
95
+ * connected.
96
+ * @param endpointName The endpoint name.
97
+ * @param options The options parameters.
98
+ */
99
+ _listByEndpointResource(resourceUri, endpointName, options) {
100
+ return this.client.sendOperationRequest({ resourceUri, endpointName, options }, listByEndpointResourceOperationSpec);
101
+ }
102
+ /**
103
+ * Gets the details about the service to the resource.
104
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
105
+ * connected.
106
+ * @param endpointName The endpoint name.
107
+ * @param serviceConfigurationName The service name.
108
+ * @param options The options parameters.
109
+ */
110
+ get(resourceUri, endpointName, serviceConfigurationName, options) {
111
+ return this.client.sendOperationRequest({ resourceUri, endpointName, serviceConfigurationName, options }, getOperationSpec);
112
+ }
113
+ /**
114
+ * Create or update a service in serviceConfiguration for the endpoint resource.
115
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
116
+ * connected.
117
+ * @param endpointName The endpoint name.
118
+ * @param serviceConfigurationName The service name.
119
+ * @param serviceConfigurationResource Service details
120
+ * @param options The options parameters.
121
+ */
122
+ createOrupdate(resourceUri, endpointName, serviceConfigurationName, serviceConfigurationResource, options) {
123
+ return this.client.sendOperationRequest({
124
+ resourceUri,
125
+ endpointName,
126
+ serviceConfigurationName,
127
+ serviceConfigurationResource,
128
+ options
129
+ }, createOrupdateOperationSpec);
130
+ }
131
+ /**
132
+ * Update the service details in the service configurations of the target resource.
133
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
134
+ * connected.
135
+ * @param endpointName The endpoint name.
136
+ * @param serviceConfigurationName The service name.
137
+ * @param serviceConfigurationResource Service details
138
+ * @param options The options parameters.
139
+ */
140
+ update(resourceUri, endpointName, serviceConfigurationName, serviceConfigurationResource, options) {
141
+ return this.client.sendOperationRequest({
142
+ resourceUri,
143
+ endpointName,
144
+ serviceConfigurationName,
145
+ serviceConfigurationResource,
146
+ options
147
+ }, updateOperationSpec);
148
+ }
149
+ /**
150
+ * Deletes the service details to the target resource.
151
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
152
+ * connected.
153
+ * @param endpointName The endpoint name.
154
+ * @param serviceConfigurationName The service name.
155
+ * @param options The options parameters.
156
+ */
157
+ delete(resourceUri, endpointName, serviceConfigurationName, options) {
158
+ return this.client.sendOperationRequest({ resourceUri, endpointName, serviceConfigurationName, options }, deleteOperationSpec);
159
+ }
160
+ /**
161
+ * ListByEndpointResourceNext
162
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
163
+ * connected.
164
+ * @param endpointName The endpoint name.
165
+ * @param nextLink The nextLink from the previous successful call to the ListByEndpointResource method.
166
+ * @param options The options parameters.
167
+ */
168
+ _listByEndpointResourceNext(resourceUri, endpointName, nextLink, options) {
169
+ return this.client.sendOperationRequest({ resourceUri, endpointName, nextLink, options }, listByEndpointResourceNextOperationSpec);
170
+ }
171
+ }
172
+ // Operation Specifications
173
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
174
+ const listByEndpointResourceOperationSpec = {
175
+ path: "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations",
176
+ httpMethod: "GET",
177
+ responses: {
178
+ 200: {
179
+ bodyMapper: Mappers.ServiceConfigurationList
180
+ },
181
+ default: {
182
+ bodyMapper: Mappers.ErrorResponse
183
+ }
184
+ },
185
+ queryParameters: [Parameters.apiVersion],
186
+ urlParameters: [
187
+ Parameters.$host,
188
+ Parameters.resourceUri,
189
+ Parameters.endpointName
190
+ ],
191
+ headerParameters: [Parameters.accept],
192
+ serializer
193
+ };
194
+ const getOperationSpec = {
195
+ path: "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}",
196
+ httpMethod: "GET",
197
+ responses: {
198
+ 200: {
199
+ bodyMapper: Mappers.ServiceConfigurationResource
200
+ },
201
+ default: {
202
+ bodyMapper: Mappers.ErrorResponse
203
+ }
204
+ },
205
+ queryParameters: [Parameters.apiVersion],
206
+ urlParameters: [
207
+ Parameters.$host,
208
+ Parameters.resourceUri,
209
+ Parameters.endpointName,
210
+ Parameters.serviceConfigurationName
211
+ ],
212
+ headerParameters: [Parameters.accept],
213
+ serializer
214
+ };
215
+ const createOrupdateOperationSpec = {
216
+ path: "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}",
217
+ httpMethod: "PUT",
218
+ responses: {
219
+ 200: {
220
+ bodyMapper: Mappers.ServiceConfigurationResource
221
+ },
222
+ 201: {
223
+ bodyMapper: Mappers.ServiceConfigurationResource
224
+ },
225
+ default: {
226
+ bodyMapper: Mappers.ErrorResponse
227
+ }
228
+ },
229
+ requestBody: Parameters.serviceConfigurationResource,
230
+ queryParameters: [Parameters.apiVersion],
231
+ urlParameters: [
232
+ Parameters.$host,
233
+ Parameters.resourceUri,
234
+ Parameters.endpointName,
235
+ Parameters.serviceConfigurationName
236
+ ],
237
+ headerParameters: [Parameters.accept, Parameters.contentType],
238
+ mediaType: "json",
239
+ serializer
240
+ };
241
+ const updateOperationSpec = {
242
+ path: "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}",
243
+ httpMethod: "PATCH",
244
+ responses: {
245
+ 200: {
246
+ bodyMapper: Mappers.ServiceConfigurationResource
247
+ },
248
+ default: {
249
+ bodyMapper: Mappers.ErrorResponse
250
+ }
251
+ },
252
+ requestBody: Parameters.serviceConfigurationResource1,
253
+ queryParameters: [Parameters.apiVersion],
254
+ urlParameters: [
255
+ Parameters.$host,
256
+ Parameters.resourceUri,
257
+ Parameters.endpointName,
258
+ Parameters.serviceConfigurationName
259
+ ],
260
+ headerParameters: [Parameters.accept, Parameters.contentType],
261
+ mediaType: "json",
262
+ serializer
263
+ };
264
+ const deleteOperationSpec = {
265
+ path: "/{resourceUri}/providers/Microsoft.HybridConnectivity/endpoints/{endpointName}/serviceConfigurations/{serviceConfigurationName}",
266
+ httpMethod: "DELETE",
267
+ responses: {
268
+ 200: {},
269
+ 204: {},
270
+ default: {
271
+ bodyMapper: Mappers.ErrorResponse
272
+ }
273
+ },
274
+ queryParameters: [Parameters.apiVersion],
275
+ urlParameters: [
276
+ Parameters.$host,
277
+ Parameters.resourceUri,
278
+ Parameters.endpointName,
279
+ Parameters.serviceConfigurationName
280
+ ],
281
+ headerParameters: [Parameters.accept],
282
+ serializer
283
+ };
284
+ const listByEndpointResourceNextOperationSpec = {
285
+ path: "{nextLink}",
286
+ httpMethod: "GET",
287
+ responses: {
288
+ 200: {
289
+ bodyMapper: Mappers.ServiceConfigurationList
290
+ },
291
+ default: {
292
+ bodyMapper: Mappers.ErrorResponse
293
+ }
294
+ },
295
+ urlParameters: [
296
+ Parameters.$host,
297
+ Parameters.nextLink,
298
+ Parameters.resourceUri,
299
+ Parameters.endpointName
300
+ ],
301
+ headerParameters: [Parameters.accept],
302
+ serializer
303
+ };
304
+ //# sourceMappingURL=serviceConfigurations.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"serviceConfigurations.js","sourceRoot":"","sources":["../../../src/operations/serviceConfigurations.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAGH,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AAEvD,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAkBnD,4CAA4C;AAC5C,yDAAyD;AACzD,MAAM,OAAO,yBAAyB;IAGpC;;;OAGG;IACH,YAAY,MAAuC;QACjD,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;;;OAMG;IACI,sBAAsB,CAC3B,WAAmB,EACnB,YAAoB,EACpB,OAAmE;QAEnE,MAAM,IAAI,GAAG,IAAI,CAAC,+BAA+B,CAC/C,WAAW,EACX,YAAY,EACZ,OAAO,CACR,CAAC;QACF,OAAO;YACL,IAAI;gBACF,OAAO,IAAI,CAAC,IAAI,EAAE,CAAC;YACrB,CAAC;YACD,CAAC,MAAM,CAAC,aAAa,CAAC;gBACpB,OAAO,IAAI,CAAC;YACd,CAAC;YACD,MAAM,EAAE,CAAC,QAAuB,EAAE,EAAE;gBAClC,IAAI,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,WAAW,EAAE;oBACzB,MAAM,IAAI,KAAK,CAAC,iDAAiD,CAAC,CAAC;iBACpE;gBACD,OAAO,IAAI,CAAC,gCAAgC,CAC1C,WAAW,EACX,YAAY,EACZ,OAAO,EACP,QAAQ,CACT,CAAC;YACJ,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,gCAAgC,CAC7C,WAAmB,EACnB,YAAoB,EACpB,OAAmE,EACnE,QAAuB;;YAEvB,IAAI,MAA2D,CAAC;YAChE,IAAI,iBAAiB,GAAG,QAAQ,aAAR,QAAQ,uBAAR,QAAQ,CAAE,iBAAiB,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CAAC,YAAY;QACvB,UAAU,CAAC,wBAAwB;KACpC;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,uCAAuC,GAA6B;IACxE,IAAI,EAAE,YAAY;IAClB,UAAU,EAAE,KAAK;IACjB,SAAS,EAAE;QACT,GAAG,EAAE;YACH,UAAU,EAAE,OAAO,CAAC,wBAAwB;SAC7C;QACD,OAAO,EAAE;YACP,UAAU,EAAE,OAAO,CAAC,aAAa;SAClC;KACF;IACD,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,WAAW;QACtB,UAAU,CAAC,YAAY;KACxB;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,72 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { EndpointResource, EndpointsListOptionalParams, EndpointsGetOptionalParams, EndpointsGetResponse, EndpointsCreateOrUpdateOptionalParams, EndpointsCreateOrUpdateResponse, EndpointsUpdateOptionalParams, EndpointsUpdateResponse, EndpointsDeleteOptionalParams, EndpointsListCredentialsOptionalParams, EndpointsListCredentialsResponse, EndpointsListIngressGatewayCredentialsOptionalParams, EndpointsListIngressGatewayCredentialsResponse, ManagedProxyRequest, EndpointsListManagedProxyDetailsOptionalParams, EndpointsListManagedProxyDetailsResponse } from "../models";
3
+ /** Interface representing a Endpoints. */
4
+ export interface Endpoints {
5
+ /**
6
+ * List of endpoints to the target resource.
7
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
8
+ * connected.
9
+ * @param options The options parameters.
10
+ */
11
+ list(resourceUri: string, options?: EndpointsListOptionalParams): PagedAsyncIterableIterator<EndpointResource>;
12
+ /**
13
+ * Gets the endpoint to the resource.
14
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
15
+ * connected.
16
+ * @param endpointName The endpoint name.
17
+ * @param options The options parameters.
18
+ */
19
+ get(resourceUri: string, endpointName: string, options?: EndpointsGetOptionalParams): Promise<EndpointsGetResponse>;
20
+ /**
21
+ * Create or update the endpoint to the target resource.
22
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
23
+ * connected.
24
+ * @param endpointName The endpoint name.
25
+ * @param endpointResource Endpoint details
26
+ * @param options The options parameters.
27
+ */
28
+ createOrUpdate(resourceUri: string, endpointName: string, endpointResource: EndpointResource, options?: EndpointsCreateOrUpdateOptionalParams): Promise<EndpointsCreateOrUpdateResponse>;
29
+ /**
30
+ * Update the endpoint to the target resource.
31
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
32
+ * connected.
33
+ * @param endpointName The endpoint name.
34
+ * @param endpointResource Endpoint details
35
+ * @param options The options parameters.
36
+ */
37
+ update(resourceUri: string, endpointName: string, endpointResource: EndpointResource, options?: EndpointsUpdateOptionalParams): Promise<EndpointsUpdateResponse>;
38
+ /**
39
+ * Deletes the endpoint access to the target resource.
40
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
41
+ * connected.
42
+ * @param endpointName The endpoint name.
43
+ * @param options The options parameters.
44
+ */
45
+ delete(resourceUri: string, endpointName: string, options?: EndpointsDeleteOptionalParams): Promise<void>;
46
+ /**
47
+ * Gets the endpoint access credentials to the resource.
48
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
49
+ * connected.
50
+ * @param endpointName The endpoint name.
51
+ * @param options The options parameters.
52
+ */
53
+ listCredentials(resourceUri: string, endpointName: string, options?: EndpointsListCredentialsOptionalParams): Promise<EndpointsListCredentialsResponse>;
54
+ /**
55
+ * Gets the ingress gateway endpoint credentials
56
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
57
+ * connected.
58
+ * @param endpointName The endpoint name.
59
+ * @param options The options parameters.
60
+ */
61
+ listIngressGatewayCredentials(resourceUri: string, endpointName: string, options?: EndpointsListIngressGatewayCredentialsOptionalParams): Promise<EndpointsListIngressGatewayCredentialsResponse>;
62
+ /**
63
+ * Fetches the managed proxy details
64
+ * @param resourceUri The fully qualified Azure Resource manager identifier of the resource to be
65
+ * connected.
66
+ * @param endpointName The endpoint name.
67
+ * @param managedProxyRequest Object of type ManagedProxyRequest
68
+ * @param options The options parameters.
69
+ */
70
+ listManagedProxyDetails(resourceUri: string, endpointName: string, managedProxyRequest: ManagedProxyRequest, options?: EndpointsListManagedProxyDetailsOptionalParams): Promise<EndpointsListManagedProxyDetailsResponse>;
71
+ }
72
+ //# sourceMappingURL=endpoints.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"endpoints.d.ts","sourceRoot":"","sources":["../../../src/operationsInterfaces/endpoints.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EACL,gBAAgB,EAChB,2BAA2B,EAC3B,0BAA0B,EAC1B,oBAAoB,EACpB,qCAAqC,EACrC,+BAA+B,EAC/B,6BAA6B,EAC7B,uBAAuB,EACvB,6BAA6B,EAC7B,sCAAsC,EACtC,gCAAgC,EAChC,oDAAoD,EACpD,8CAA8C,EAC9C,mBAAmB,EACnB,8CAA8C,EAC9C,wCAAwC,EACzC,MAAM,WAAW,CAAC;AAGnB,0CAA0C;AAC1C,MAAM,WAAW,SAAS;IACxB;;;;;OAKG;IACH,IAAI,CACF,WAAW,EAAE,MAAM,EACnB,OAAO,CAAC,EAAE,2BAA2B,GACpC,0BAA0B,CAAC,gBAAgB,CAAC,CAAC;IAChD;;;;;;OAMG;IACH,GAAG,CACD,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,OAAO,CAAC,EAAE,0BAA0B,GACnC,OAAO,CAAC,oBAAoB,CAAC,CAAC;IACjC;;;;;;;OAOG;IACH,cAAc,CACZ,WAAW,EAAE,MAAM,EACnB,YAAY,EAAE,MAAM,EACpB,gBAAgB,EAAE,gBAAgB,EAClC,OAAO,CAAC,EAA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