@azure/arm-hanaonazure 2.2.0 → 4.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 (145) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/LICENSE.txt +1 -1
  4. package/README.md +72 -72
  5. package/dist/index.js +1333 -0
  6. package/dist/index.js.map +1 -0
  7. package/dist/index.min.js +1 -0
  8. package/dist/index.min.js.map +1 -0
  9. package/dist-esm/src/hanaManagementClient.d.ts +21 -0
  10. package/dist-esm/src/hanaManagementClient.d.ts.map +1 -0
  11. package/dist-esm/src/hanaManagementClient.js +54 -0
  12. package/dist-esm/src/hanaManagementClient.js.map +1 -0
  13. package/dist-esm/src/index.d.ts +5 -0
  14. package/dist-esm/src/index.d.ts.map +1 -0
  15. package/dist-esm/src/index.js +12 -0
  16. package/dist-esm/src/index.js.map +1 -0
  17. package/dist-esm/src/lroImpl.d.ts +16 -0
  18. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  19. package/dist-esm/src/lroImpl.js +29 -0
  20. package/dist-esm/src/lroImpl.js.map +1 -0
  21. package/dist-esm/src/models/index.d.ts +260 -0
  22. package/dist-esm/src/models/index.d.ts.map +1 -0
  23. package/dist-esm/src/models/index.js +19 -0
  24. package/dist-esm/src/models/index.js.map +1 -0
  25. package/dist-esm/src/models/mappers.d.ts +15 -0
  26. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  27. package/dist-esm/src/models/mappers.js +330 -0
  28. package/dist-esm/src/models/mappers.js.map +1 -0
  29. package/dist-esm/src/models/parameters.d.ts +14 -0
  30. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  31. package/dist-esm/src/models/parameters.js +116 -0
  32. package/dist-esm/src/models/parameters.js.map +1 -0
  33. package/dist-esm/src/operations/index.d.ts +4 -0
  34. package/dist-esm/src/operations/index.d.ts.map +1 -0
  35. package/dist-esm/src/operations/index.js +11 -0
  36. package/dist-esm/src/operations/index.js.map +1 -0
  37. package/dist-esm/src/operations/operations.d.ts +26 -0
  38. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  39. package/dist-esm/src/operations/operations.js +90 -0
  40. package/dist-esm/src/operations/operations.js.map +1 -0
  41. package/dist-esm/src/operations/providerInstances.d.ts +88 -0
  42. package/dist-esm/src/operations/providerInstances.d.ts.map +1 -0
  43. package/dist-esm/src/operations/providerInstances.js +344 -0
  44. package/dist-esm/src/operations/providerInstances.js.map +1 -0
  45. package/dist-esm/src/operations/sapMonitors.d.ts +81 -0
  46. package/dist-esm/src/operations/sapMonitors.d.ts.map +1 -0
  47. package/dist-esm/src/operations/sapMonitors.js +346 -0
  48. package/dist-esm/src/operations/sapMonitors.js.map +1 -0
  49. package/dist-esm/src/operationsInterfaces/index.d.ts +4 -0
  50. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  51. package/dist-esm/src/operationsInterfaces/index.js +11 -0
  52. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  53. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  54. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  55. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  56. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  57. package/dist-esm/src/operationsInterfaces/providerInstances.d.ts +62 -0
  58. package/dist-esm/src/operationsInterfaces/providerInstances.d.ts.map +1 -0
  59. package/dist-esm/src/operationsInterfaces/providerInstances.js +9 -0
  60. package/dist-esm/src/operationsInterfaces/providerInstances.js.map +1 -0
  61. package/dist-esm/src/operationsInterfaces/sapMonitors.d.ts +59 -0
  62. package/dist-esm/src/operationsInterfaces/sapMonitors.d.ts.map +1 -0
  63. package/dist-esm/src/operationsInterfaces/sapMonitors.js +9 -0
  64. package/dist-esm/src/operationsInterfaces/sapMonitors.js.map +1 -0
  65. package/dist-esm/test/sampleTest.d.ts +2 -0
  66. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  67. package/dist-esm/test/sampleTest.js +40 -0
  68. package/dist-esm/test/sampleTest.js.map +1 -0
  69. package/package.json +65 -31
  70. package/review/arm-hanaonazure.api.md +260 -0
  71. package/rollup.config.js +181 -30
  72. package/src/hanaManagementClient.ts +75 -34
  73. package/src/index.ts +12 -0
  74. package/src/lroImpl.ts +34 -0
  75. package/src/models/index.ts +227 -638
  76. package/src/models/mappers.ts +138 -367
  77. package/src/models/parameters.ts +84 -30
  78. package/src/operations/index.ts +4 -6
  79. package/src/operations/operations.ts +66 -42
  80. package/src/operations/providerInstances.ts +477 -0
  81. package/src/operations/sapMonitors.ts +332 -256
  82. package/src/operationsInterfaces/index.ts +11 -0
  83. package/src/operationsInterfaces/operations.ts +22 -0
  84. package/src/operationsInterfaces/providerInstances.ts +115 -0
  85. package/src/operationsInterfaces/sapMonitors.ts +113 -0
  86. package/tsconfig.json +4 -4
  87. package/types/arm-hanaonazure.d.ts +444 -0
  88. package/types/tsdoc-metadata.json +11 -0
  89. package/dist/arm-hanaonazure.js +0 -1702
  90. package/dist/arm-hanaonazure.js.map +0 -1
  91. package/dist/arm-hanaonazure.min.js +0 -1
  92. package/dist/arm-hanaonazure.min.js.map +0 -1
  93. package/esm/hanaManagementClient.d.ts +0 -21
  94. package/esm/hanaManagementClient.d.ts.map +0 -1
  95. package/esm/hanaManagementClient.js +0 -36
  96. package/esm/hanaManagementClient.js.map +0 -1
  97. package/esm/hanaManagementClientContext.d.ts +0 -17
  98. package/esm/hanaManagementClientContext.d.ts.map +0 -1
  99. package/esm/hanaManagementClientContext.js +0 -57
  100. package/esm/hanaManagementClientContext.js.map +0 -1
  101. package/esm/models/hanaInstancesMappers.d.ts +0 -2
  102. package/esm/models/hanaInstancesMappers.d.ts.map +0 -1
  103. package/esm/models/hanaInstancesMappers.js +0 -9
  104. package/esm/models/hanaInstancesMappers.js.map +0 -1
  105. package/esm/models/index.d.ts +0 -661
  106. package/esm/models/index.d.ts.map +0 -1
  107. package/esm/models/index.js +0 -8
  108. package/esm/models/index.js.map +0 -1
  109. package/esm/models/mappers.d.ts +0 -21
  110. package/esm/models/mappers.d.ts.map +0 -1
  111. package/esm/models/mappers.js +0 -556
  112. package/esm/models/mappers.js.map +0 -1
  113. package/esm/models/operationsMappers.d.ts +0 -2
  114. package/esm/models/operationsMappers.d.ts.map +0 -1
  115. package/esm/models/operationsMappers.js +0 -9
  116. package/esm/models/operationsMappers.js.map +0 -1
  117. package/esm/models/parameters.d.ts +0 -9
  118. package/esm/models/parameters.d.ts.map +0 -1
  119. package/esm/models/parameters.js +0 -81
  120. package/esm/models/parameters.js.map +0 -1
  121. package/esm/models/sapMonitorsMappers.d.ts +0 -2
  122. package/esm/models/sapMonitorsMappers.d.ts.map +0 -1
  123. package/esm/models/sapMonitorsMappers.js +0 -9
  124. package/esm/models/sapMonitorsMappers.js.map +0 -1
  125. package/esm/operations/hanaInstances.d.ts +0 -244
  126. package/esm/operations/hanaInstances.d.ts.map +0 -1
  127. package/esm/operations/hanaInstances.js +0 -514
  128. package/esm/operations/hanaInstances.js.map +0 -1
  129. package/esm/operations/index.d.ts +0 -4
  130. package/esm/operations/index.d.ts.map +0 -1
  131. package/esm/operations/index.js +0 -13
  132. package/esm/operations/index.js.map +0 -1
  133. package/esm/operations/operations.d.ts +0 -28
  134. package/esm/operations/operations.d.ts.map +0 -1
  135. package/esm/operations/operations.js +0 -51
  136. package/esm/operations/operations.js.map +0 -1
  137. package/esm/operations/sapMonitors.d.ts +0 -138
  138. package/esm/operations/sapMonitors.d.ts.map +0 -1
  139. package/esm/operations/sapMonitors.js +0 -260
  140. package/esm/operations/sapMonitors.js.map +0 -1
  141. package/src/hanaManagementClientContext.ts +0 -63
  142. package/src/models/hanaInstancesMappers.ts +0 -25
  143. package/src/models/operationsMappers.ts +0 -14
  144. package/src/models/sapMonitorsMappers.ts +0 -23
  145. package/src/operations/hanaInstances.ts +0 -718
@@ -0,0 +1,11 @@
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
+ export * from "./operations";
10
+ export * from "./sapMonitors";
11
+ export * from "./providerInstances";
@@ -0,0 +1,22 @@
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 { Operation, OperationsListOptionalParams } from "../models";
11
+
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Interface representing a Operations. */
14
+ export interface Operations {
15
+ /**
16
+ * Gets a list of SAP HANA management operations.
17
+ * @param options The options parameters.
18
+ */
19
+ list(
20
+ options?: OperationsListOptionalParams
21
+ ): PagedAsyncIterableIterator<Operation>;
22
+ }
@@ -0,0 +1,115 @@
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 { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ ProviderInstance,
13
+ ProviderInstancesListOptionalParams,
14
+ ProviderInstancesGetOptionalParams,
15
+ ProviderInstancesGetResponse,
16
+ ProviderInstancesCreateOptionalParams,
17
+ ProviderInstancesCreateResponse,
18
+ ProviderInstancesDeleteOptionalParams
19
+ } from "../models";
20
+
21
+ /// <reference lib="esnext.asynciterable" />
22
+ /** Interface representing a ProviderInstances. */
23
+ export interface ProviderInstances {
24
+ /**
25
+ * Gets a list of provider instances in the specified SAP monitor. The operations returns various
26
+ * properties of each provider instances.
27
+ * @param resourceGroupName Name of the resource group.
28
+ * @param sapMonitorName Name of the SAP monitor resource.
29
+ * @param options The options parameters.
30
+ */
31
+ list(
32
+ resourceGroupName: string,
33
+ sapMonitorName: string,
34
+ options?: ProviderInstancesListOptionalParams
35
+ ): PagedAsyncIterableIterator<ProviderInstance>;
36
+ /**
37
+ * Gets properties of a provider instance for the specified subscription, resource group, SapMonitor
38
+ * name, and resource name.
39
+ * @param resourceGroupName Name of the resource group.
40
+ * @param sapMonitorName Name of the SAP monitor resource.
41
+ * @param providerInstanceName Name of the provider instance.
42
+ * @param options The options parameters.
43
+ */
44
+ get(
45
+ resourceGroupName: string,
46
+ sapMonitorName: string,
47
+ providerInstanceName: string,
48
+ options?: ProviderInstancesGetOptionalParams
49
+ ): Promise<ProviderInstancesGetResponse>;
50
+ /**
51
+ * Creates a provider instance for the specified subscription, resource group, SapMonitor name, and
52
+ * resource name.
53
+ * @param resourceGroupName Name of the resource group.
54
+ * @param sapMonitorName Name of the SAP monitor resource.
55
+ * @param providerInstanceName Name of the provider instance.
56
+ * @param providerInstanceParameter Request body representing a provider instance
57
+ * @param options The options parameters.
58
+ */
59
+ beginCreate(
60
+ resourceGroupName: string,
61
+ sapMonitorName: string,
62
+ providerInstanceName: string,
63
+ providerInstanceParameter: ProviderInstance,
64
+ options?: ProviderInstancesCreateOptionalParams
65
+ ): Promise<
66
+ PollerLike<
67
+ PollOperationState<ProviderInstancesCreateResponse>,
68
+ ProviderInstancesCreateResponse
69
+ >
70
+ >;
71
+ /**
72
+ * Creates a provider instance for the specified subscription, resource group, SapMonitor name, and
73
+ * resource name.
74
+ * @param resourceGroupName Name of the resource group.
75
+ * @param sapMonitorName Name of the SAP monitor resource.
76
+ * @param providerInstanceName Name of the provider instance.
77
+ * @param providerInstanceParameter Request body representing a provider instance
78
+ * @param options The options parameters.
79
+ */
80
+ beginCreateAndWait(
81
+ resourceGroupName: string,
82
+ sapMonitorName: string,
83
+ providerInstanceName: string,
84
+ providerInstanceParameter: ProviderInstance,
85
+ options?: ProviderInstancesCreateOptionalParams
86
+ ): Promise<ProviderInstancesCreateResponse>;
87
+ /**
88
+ * Deletes a provider instance for the specified subscription, resource group, SapMonitor name, and
89
+ * resource name.
90
+ * @param resourceGroupName Name of the resource group.
91
+ * @param sapMonitorName Name of the SAP monitor resource.
92
+ * @param providerInstanceName Name of the provider instance.
93
+ * @param options The options parameters.
94
+ */
95
+ beginDelete(
96
+ resourceGroupName: string,
97
+ sapMonitorName: string,
98
+ providerInstanceName: string,
99
+ options?: ProviderInstancesDeleteOptionalParams
100
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
101
+ /**
102
+ * Deletes a provider instance for the specified subscription, resource group, SapMonitor name, and
103
+ * resource name.
104
+ * @param resourceGroupName Name of the resource group.
105
+ * @param sapMonitorName Name of the SAP monitor resource.
106
+ * @param providerInstanceName Name of the provider instance.
107
+ * @param options The options parameters.
108
+ */
109
+ beginDeleteAndWait(
110
+ resourceGroupName: string,
111
+ sapMonitorName: string,
112
+ providerInstanceName: string,
113
+ options?: ProviderInstancesDeleteOptionalParams
114
+ ): Promise<void>;
115
+ }
@@ -0,0 +1,113 @@
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 { PollerLike, PollOperationState } from "@azure/core-lro";
11
+ import {
12
+ SapMonitor,
13
+ SapMonitorsListOptionalParams,
14
+ SapMonitorsGetOptionalParams,
15
+ SapMonitorsGetResponse,
16
+ SapMonitorsCreateOptionalParams,
17
+ SapMonitorsCreateResponse,
18
+ SapMonitorsDeleteOptionalParams,
19
+ Tags,
20
+ SapMonitorsUpdateOptionalParams,
21
+ SapMonitorsUpdateResponse
22
+ } from "../models";
23
+
24
+ /// <reference lib="esnext.asynciterable" />
25
+ /** Interface representing a SapMonitors. */
26
+ export interface SapMonitors {
27
+ /**
28
+ * Gets a list of SAP monitors in the specified subscription. The operations returns various properties
29
+ * of each SAP monitor.
30
+ * @param options The options parameters.
31
+ */
32
+ list(
33
+ options?: SapMonitorsListOptionalParams
34
+ ): PagedAsyncIterableIterator<SapMonitor>;
35
+ /**
36
+ * Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
37
+ * @param resourceGroupName Name of the resource group.
38
+ * @param sapMonitorName Name of the SAP monitor resource.
39
+ * @param options The options parameters.
40
+ */
41
+ get(
42
+ resourceGroupName: string,
43
+ sapMonitorName: string,
44
+ options?: SapMonitorsGetOptionalParams
45
+ ): Promise<SapMonitorsGetResponse>;
46
+ /**
47
+ * Creates a SAP monitor for the specified subscription, resource group, and resource name.
48
+ * @param resourceGroupName Name of the resource group.
49
+ * @param sapMonitorName Name of the SAP monitor resource.
50
+ * @param sapMonitorParameter Request body representing a SAP Monitor
51
+ * @param options The options parameters.
52
+ */
53
+ beginCreate(
54
+ resourceGroupName: string,
55
+ sapMonitorName: string,
56
+ sapMonitorParameter: SapMonitor,
57
+ options?: SapMonitorsCreateOptionalParams
58
+ ): Promise<
59
+ PollerLike<
60
+ PollOperationState<SapMonitorsCreateResponse>,
61
+ SapMonitorsCreateResponse
62
+ >
63
+ >;
64
+ /**
65
+ * Creates a SAP monitor for the specified subscription, resource group, and resource name.
66
+ * @param resourceGroupName Name of the resource group.
67
+ * @param sapMonitorName Name of the SAP monitor resource.
68
+ * @param sapMonitorParameter Request body representing a SAP Monitor
69
+ * @param options The options parameters.
70
+ */
71
+ beginCreateAndWait(
72
+ resourceGroupName: string,
73
+ sapMonitorName: string,
74
+ sapMonitorParameter: SapMonitor,
75
+ options?: SapMonitorsCreateOptionalParams
76
+ ): Promise<SapMonitorsCreateResponse>;
77
+ /**
78
+ * Deletes a SAP monitor with the specified subscription, resource group, and monitor name.
79
+ * @param resourceGroupName Name of the resource group.
80
+ * @param sapMonitorName Name of the SAP monitor resource.
81
+ * @param options The options parameters.
82
+ */
83
+ beginDelete(
84
+ resourceGroupName: string,
85
+ sapMonitorName: string,
86
+ options?: SapMonitorsDeleteOptionalParams
87
+ ): Promise<PollerLike<PollOperationState<void>, void>>;
88
+ /**
89
+ * Deletes a SAP monitor with the specified subscription, resource group, and monitor name.
90
+ * @param resourceGroupName Name of the resource group.
91
+ * @param sapMonitorName Name of the SAP monitor resource.
92
+ * @param options The options parameters.
93
+ */
94
+ beginDeleteAndWait(
95
+ resourceGroupName: string,
96
+ sapMonitorName: string,
97
+ options?: SapMonitorsDeleteOptionalParams
98
+ ): Promise<void>;
99
+ /**
100
+ * Patches the Tags field of a SAP monitor for the specified subscription, resource group, and monitor
101
+ * name.
102
+ * @param resourceGroupName Name of the resource group.
103
+ * @param sapMonitorName Name of the SAP monitor resource.
104
+ * @param tagsParameter Request body that only contains the new Tags field
105
+ * @param options The options parameters.
106
+ */
107
+ update(
108
+ resourceGroupName: string,
109
+ sapMonitorName: string,
110
+ tagsParameter: Tags,
111
+ options?: SapMonitorsUpdateOptionalParams
112
+ ): Promise<SapMonitorsUpdateResponse>;
113
+ }
package/tsconfig.json CHANGED
@@ -3,17 +3,17 @@
3
3
  "module": "es6",
4
4
  "moduleResolution": "node",
5
5
  "strict": true,
6
- "target": "es5",
6
+ "target": "es6",
7
7
  "sourceMap": true,
8
8
  "declarationMap": true,
9
9
  "esModuleInterop": true,
10
10
  "allowSyntheticDefaultImports": true,
11
11
  "forceConsistentCasingInFileNames": true,
12
- "lib": ["es6"],
12
+ "lib": ["es6", "dom"],
13
13
  "declaration": true,
14
- "outDir": "./esm",
14
+ "outDir": "./dist-esm",
15
15
  "importHelpers": true
16
16
  },
17
- "include": ["./src/**/*.ts"],
17
+ "include": ["./src/**/*.ts", "./test/**/*.ts"],
18
18
  "exclude": ["node_modules"]
19
19
  }