@azure/arm-datadog 1.0.0 → 3.0.0

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 (175) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/LICENSE +21 -0
  3. package/README.md +70 -70
  4. package/dist/index.js +3359 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/index.d.ts +5 -0
  9. package/dist-esm/src/index.d.ts.map +1 -0
  10. package/dist-esm/src/index.js +12 -0
  11. package/dist-esm/src/index.js.map +1 -0
  12. package/dist-esm/src/lroImpl.d.ts +16 -0
  13. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  14. package/dist-esm/src/lroImpl.js +29 -0
  15. package/dist-esm/src/lroImpl.js.map +1 -0
  16. package/dist-esm/src/microsoftDatadogClient.d.ts +22 -0
  17. package/dist-esm/src/microsoftDatadogClient.d.ts.map +1 -0
  18. package/dist-esm/src/microsoftDatadogClient.js +55 -0
  19. package/dist-esm/src/microsoftDatadogClient.js.map +1 -0
  20. package/dist-esm/src/models/index.d.ts +790 -0
  21. package/dist-esm/src/models/index.d.ts.map +1 -0
  22. package/dist-esm/src/models/index.js +69 -0
  23. package/dist-esm/src/models/index.js.map +1 -0
  24. package/dist-esm/src/models/mappers.d.ts +42 -0
  25. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/mappers.js +554 -596
  27. package/dist-esm/src/models/mappers.js.map +1 -0
  28. package/dist-esm/src/models/parameters.d.ts +18 -0
  29. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  30. package/dist-esm/src/models/parameters.js +145 -0
  31. package/dist-esm/src/models/parameters.js.map +1 -0
  32. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  33. package/dist-esm/src/operations/index.d.ts.map +1 -0
  34. package/{esm → dist-esm/src}/operations/index.js +1 -2
  35. package/dist-esm/src/operations/index.js.map +1 -0
  36. package/dist-esm/src/operations/marketplaceAgreements.d.ts +37 -0
  37. package/dist-esm/src/operations/marketplaceAgreements.d.ts.map +1 -0
  38. package/dist-esm/src/operations/marketplaceAgreements.js +149 -0
  39. package/dist-esm/src/operations/marketplaceAgreements.js.map +1 -0
  40. package/dist-esm/src/operations/monitors.d.ts +220 -0
  41. package/dist-esm/src/operations/monitors.d.ts.map +1 -0
  42. package/dist-esm/src/operations/monitors.js +1035 -0
  43. package/dist-esm/src/operations/monitors.js.map +1 -0
  44. package/dist-esm/src/operations/operations.d.ts +32 -0
  45. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/operations.js +120 -0
  47. package/dist-esm/src/operations/operations.js.map +1 -0
  48. package/dist-esm/src/operations/singleSignOnConfigurations.d.ts +63 -0
  49. package/dist-esm/src/operations/singleSignOnConfigurations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/singleSignOnConfigurations.js +256 -0
  51. package/dist-esm/src/operations/singleSignOnConfigurations.js.map +1 -0
  52. package/dist-esm/src/operations/tagRules.d.ts +54 -0
  53. package/dist-esm/src/operations/tagRules.d.ts.map +1 -0
  54. package/dist-esm/src/operations/tagRules.js +203 -0
  55. package/dist-esm/src/operations/tagRules.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/index.d.ts +6 -0
  57. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/index.js +13 -0
  59. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts +16 -0
  61. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.d.ts.map +1 -0
  62. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/marketplaceAgreements.js} +2 -9
  63. package/dist-esm/src/operationsInterfaces/marketplaceAgreements.js.map +1 -0
  64. package/dist-esm/src/operationsInterfaces/monitors.d.ts +116 -0
  65. package/dist-esm/src/operationsInterfaces/monitors.d.ts.map +1 -0
  66. package/{esm/models/index.js → dist-esm/src/operationsInterfaces/monitors.js} +2 -1
  67. package/dist-esm/src/operationsInterfaces/monitors.js.map +1 -0
  68. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  69. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  70. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/operations.js} +2 -2
  71. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  72. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts +38 -0
  73. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.d.ts.map +1 -0
  74. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js +9 -0
  75. package/dist-esm/src/operationsInterfaces/singleSignOnConfigurations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/tagRules.d.ts +29 -0
  77. package/dist-esm/src/operationsInterfaces/tagRules.d.ts.map +1 -0
  78. package/dist-esm/src/operationsInterfaces/tagRules.js +9 -0
  79. package/dist-esm/src/operationsInterfaces/tagRules.js.map +1 -0
  80. package/dist-esm/test/sampleTest.d.ts +2 -0
  81. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  82. package/dist-esm/test/sampleTest.js +40 -0
  83. package/dist-esm/test/sampleTest.js.map +1 -0
  84. package/package.json +65 -31
  85. package/review/arm-datadog.api.md +746 -0
  86. package/rollup.config.js +181 -30
  87. package/src/index.ts +12 -0
  88. package/src/lroImpl.ts +34 -0
  89. package/src/microsoftDatadogClient.ts +80 -34
  90. package/src/models/index.ts +652 -1254
  91. package/src/models/mappers.ts +564 -605
  92. package/src/models/parameters.ts +104 -34
  93. package/src/operations/index.ts +1 -2
  94. package/src/operations/marketplaceAgreements.ts +110 -116
  95. package/src/operations/monitors.ts +1010 -696
  96. package/src/operations/operations.ts +87 -75
  97. package/src/operations/singleSignOnConfigurations.ts +247 -166
  98. package/src/operations/tagRules.ts +169 -171
  99. package/src/operationsInterfaces/index.ts +13 -0
  100. package/src/operationsInterfaces/marketplaceAgreements.ts +34 -0
  101. package/src/operationsInterfaces/monitors.ts +220 -0
  102. package/src/operationsInterfaces/operations.ts +22 -0
  103. package/src/operationsInterfaces/singleSignOnConfigurations.ts +78 -0
  104. package/src/operationsInterfaces/tagRules.ts +59 -0
  105. package/tsconfig.json +3 -3
  106. package/types/arm-datadog.d.ts +1130 -0
  107. package/types/tsdoc-metadata.json +11 -0
  108. package/dist/arm-datadog.js +0 -2959
  109. package/dist/arm-datadog.js.map +0 -1
  110. package/dist/arm-datadog.min.js +0 -1
  111. package/dist/arm-datadog.min.js.map +0 -1
  112. package/esm/microsoftDatadogClient.d.ts +0 -22
  113. package/esm/microsoftDatadogClient.d.ts.map +0 -1
  114. package/esm/microsoftDatadogClient.js +0 -36
  115. package/esm/microsoftDatadogClient.js.map +0 -1
  116. package/esm/microsoftDatadogClientContext.d.ts +0 -16
  117. package/esm/microsoftDatadogClientContext.d.ts.map +0 -1
  118. package/esm/microsoftDatadogClientContext.js +0 -55
  119. package/esm/microsoftDatadogClientContext.js.map +0 -1
  120. package/esm/models/index.d.ts +0 -1397
  121. package/esm/models/index.d.ts.map +0 -1
  122. package/esm/models/index.js.map +0 -1
  123. package/esm/models/mappers.d.ts +0 -44
  124. package/esm/models/mappers.d.ts.map +0 -1
  125. package/esm/models/mappers.js.map +0 -1
  126. package/esm/models/marketplaceAgreementsMappers.d.ts +0 -2
  127. package/esm/models/marketplaceAgreementsMappers.d.ts.map +0 -1
  128. package/esm/models/marketplaceAgreementsMappers.js +0 -9
  129. package/esm/models/marketplaceAgreementsMappers.js.map +0 -1
  130. package/esm/models/monitorsMappers.d.ts +0 -2
  131. package/esm/models/monitorsMappers.d.ts.map +0 -1
  132. package/esm/models/monitorsMappers.js +0 -9
  133. package/esm/models/monitorsMappers.js.map +0 -1
  134. package/esm/models/operationsMappers.d.ts +0 -2
  135. package/esm/models/operationsMappers.d.ts.map +0 -1
  136. package/esm/models/operationsMappers.js.map +0 -1
  137. package/esm/models/parameters.d.ts +0 -10
  138. package/esm/models/parameters.d.ts.map +0 -1
  139. package/esm/models/parameters.js +0 -101
  140. package/esm/models/parameters.js.map +0 -1
  141. package/esm/models/singleSignOnConfigurationsMappers.d.ts +0 -2
  142. package/esm/models/singleSignOnConfigurationsMappers.d.ts.map +0 -1
  143. package/esm/models/singleSignOnConfigurationsMappers.js +0 -9
  144. package/esm/models/singleSignOnConfigurationsMappers.js.map +0 -1
  145. package/esm/models/tagRulesMappers.d.ts +0 -2
  146. package/esm/models/tagRulesMappers.d.ts.map +0 -1
  147. package/esm/models/tagRulesMappers.js +0 -9
  148. package/esm/models/tagRulesMappers.js.map +0 -1
  149. package/esm/operations/index.d.ts.map +0 -1
  150. package/esm/operations/index.js.map +0 -1
  151. package/esm/operations/marketplaceAgreements.d.ts +0 -61
  152. package/esm/operations/marketplaceAgreements.d.ts.map +0 -1
  153. package/esm/operations/marketplaceAgreements.js +0 -116
  154. package/esm/operations/marketplaceAgreements.js.map +0 -1
  155. package/esm/operations/monitors.d.ts +0 -378
  156. package/esm/operations/monitors.d.ts.map +0 -1
  157. package/esm/operations/monitors.js +0 -655
  158. package/esm/operations/monitors.js.map +0 -1
  159. package/esm/operations/operations.d.ts +0 -46
  160. package/esm/operations/operations.d.ts.map +0 -1
  161. package/esm/operations/operations.js +0 -79
  162. package/esm/operations/operations.js.map +0 -1
  163. package/esm/operations/singleSignOnConfigurations.d.ts +0 -95
  164. package/esm/operations/singleSignOnConfigurations.d.ts.map +0 -1
  165. package/esm/operations/singleSignOnConfigurations.js +0 -182
  166. package/esm/operations/singleSignOnConfigurations.js.map +0 -1
  167. package/esm/operations/tagRules.d.ts +0 -100
  168. package/esm/operations/tagRules.d.ts.map +0 -1
  169. package/esm/operations/tagRules.js +0 -159
  170. package/esm/operations/tagRules.js.map +0 -1
  171. package/src/microsoftDatadogClientContext.ts +0 -61
  172. package/src/models/marketplaceAgreementsMappers.ts +0 -31
  173. package/src/models/monitorsMappers.ts +0 -45
  174. package/src/models/singleSignOnConfigurationsMappers.ts +0 -31
  175. package/src/models/tagRulesMappers.ts +0 -31
@@ -1,159 +0,0 @@
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
7
- * regenerated.
8
- */
9
- import * as msRest from "@azure/ms-rest-js";
10
- import * as Mappers from "../models/tagRulesMappers";
11
- import * as Parameters from "../models/parameters";
12
- /** Class representing a TagRules. */
13
- var TagRules = /** @class */ (function () {
14
- /**
15
- * Create a TagRules.
16
- * @param {MicrosoftDatadogClientContext} client Reference to the service client.
17
- */
18
- function TagRules(client) {
19
- this.client = client;
20
- }
21
- TagRules.prototype.list = function (resourceGroupName, monitorName, options, callback) {
22
- return this.client.sendOperationRequest({
23
- resourceGroupName: resourceGroupName,
24
- monitorName: monitorName,
25
- options: options
26
- }, listOperationSpec, callback);
27
- };
28
- TagRules.prototype.createOrUpdate = function (resourceGroupName, monitorName, ruleSetName, options, callback) {
29
- return this.client.sendOperationRequest({
30
- resourceGroupName: resourceGroupName,
31
- monitorName: monitorName,
32
- ruleSetName: ruleSetName,
33
- options: options
34
- }, createOrUpdateOperationSpec, callback);
35
- };
36
- TagRules.prototype.get = function (resourceGroupName, monitorName, ruleSetName, options, callback) {
37
- return this.client.sendOperationRequest({
38
- resourceGroupName: resourceGroupName,
39
- monitorName: monitorName,
40
- ruleSetName: ruleSetName,
41
- options: options
42
- }, getOperationSpec, callback);
43
- };
44
- TagRules.prototype.listNext = function (nextPageLink, options, callback) {
45
- return this.client.sendOperationRequest({
46
- nextPageLink: nextPageLink,
47
- options: options
48
- }, listNextOperationSpec, callback);
49
- };
50
- return TagRules;
51
- }());
52
- export { TagRules };
53
- // Operation Specifications
54
- var serializer = new msRest.Serializer(Mappers);
55
- var listOperationSpec = {
56
- httpMethod: "GET",
57
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules",
58
- urlParameters: [
59
- Parameters.subscriptionId,
60
- Parameters.resourceGroupName,
61
- Parameters.monitorName
62
- ],
63
- queryParameters: [
64
- Parameters.apiVersion
65
- ],
66
- headerParameters: [
67
- Parameters.acceptLanguage
68
- ],
69
- responses: {
70
- 200: {
71
- bodyMapper: Mappers.MonitoringTagRulesListResponse
72
- },
73
- default: {
74
- bodyMapper: Mappers.ErrorResponse
75
- }
76
- },
77
- serializer: serializer
78
- };
79
- var createOrUpdateOperationSpec = {
80
- httpMethod: "PUT",
81
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules/{ruleSetName}",
82
- urlParameters: [
83
- Parameters.subscriptionId,
84
- Parameters.resourceGroupName,
85
- Parameters.monitorName,
86
- Parameters.ruleSetName
87
- ],
88
- queryParameters: [
89
- Parameters.apiVersion
90
- ],
91
- headerParameters: [
92
- Parameters.acceptLanguage
93
- ],
94
- requestBody: {
95
- parameterPath: [
96
- "options",
97
- "body"
98
- ],
99
- mapper: Mappers.MonitoringTagRules
100
- },
101
- responses: {
102
- 200: {
103
- bodyMapper: Mappers.MonitoringTagRules
104
- },
105
- default: {
106
- bodyMapper: Mappers.ErrorResponse
107
- }
108
- },
109
- serializer: serializer
110
- };
111
- var getOperationSpec = {
112
- httpMethod: "GET",
113
- path: "subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Datadog/monitors/{monitorName}/tagRules/{ruleSetName}",
114
- urlParameters: [
115
- Parameters.subscriptionId,
116
- Parameters.resourceGroupName,
117
- Parameters.monitorName,
118
- Parameters.ruleSetName
119
- ],
120
- queryParameters: [
121
- Parameters.apiVersion
122
- ],
123
- headerParameters: [
124
- Parameters.acceptLanguage
125
- ],
126
- responses: {
127
- 200: {
128
- bodyMapper: Mappers.MonitoringTagRules
129
- },
130
- default: {
131
- bodyMapper: Mappers.ErrorResponse
132
- }
133
- },
134
- serializer: serializer
135
- };
136
- var listNextOperationSpec = {
137
- httpMethod: "GET",
138
- baseUrl: "https://management.azure.com",
139
- path: "{nextLink}",
140
- urlParameters: [
141
- Parameters.nextPageLink
142
- ],
143
- queryParameters: [
144
- Parameters.apiVersion
145
- ],
146
- headerParameters: [
147
- Parameters.acceptLanguage
148
- ],
149
- responses: {
150
- 200: {
151
- bodyMapper: Mappers.MonitoringTagRulesListResponse
152
- },
153
- default: {
154
- bodyMapper: Mappers.ErrorResponse
155
- }
156
- },
157
- serializer: serializer
158
- };
159
- //# sourceMappingURL=tagRules.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"tagRules.js","sourceRoot":"","sources":["../../src/operations/tagRules.ts"],"names":[],"mappings":"AAAA;;;;;;;GAOG;AAEH,OAAO,KAAK,MAAM,MAAM,mBAAmB,CAAC;AAE5C,OAAO,KAAK,OAAO,MAAM,2BAA2B,CAAC;AACrD,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAGnD,qCAAqC;AACrC;IAGE;;;OAGG;IACH,kBAAY,MAAqC;QAC/C,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAuBD,uBAAI,GAAJ,UAAK,iBAAyB,EAAE,WAAmB,EAAE,OAAmG,EAAE,QAAwE;QAChO,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,iBAAiB,EACjB,QAAQ,CAAyC,CAAC;IACtD,CAAC;IA0BD,iCAAc,GAAd,UAAe,iBAAyB,EAAE,WAAmB,EAAE,WAAmB,EAAE,OAAyG,EAAE,QAA4D;QACzP,OAAO,IAAI,CAAC,MAAM,CAAC,oBAAoB,CACrC;YACE,iBAAiB,mBAAA;YACjB,WAAW,aAAA;YACX,WAAW,aAAA;YACX,OAAO,SAAA;SACR,EACD,2BAA2B,EAC3B,QAAQ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,CAAC,aAAa;SAClC;KACF;IACD,UAAU,YAAA;CACX,CAAC"}
@@ -1,61 +0,0 @@
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
7
- * regenerated.
8
- */
9
-
10
- import * as Models from "./models";
11
- import * as msRest from "@azure/ms-rest-js";
12
- import * as msRestAzure from "@azure/ms-rest-azure-js";
13
-
14
- const packageName = "@azure/arm-datadog";
15
- const packageVersion = "1.0.0";
16
-
17
- export class MicrosoftDatadogClientContext extends msRestAzure.AzureServiceClient {
18
- credentials: msRest.ServiceClientCredentials;
19
- apiVersion?: string;
20
- subscriptionId: string;
21
-
22
- /**
23
- * Initializes a new instance of the MicrosoftDatadogClient class.
24
- * @param credentials Credentials needed for the client to connect to Azure.
25
- * @param subscriptionId The ID of the target subscription.
26
- * @param [options] The parameter options
27
- */
28
- constructor(credentials: msRest.ServiceClientCredentials, subscriptionId: string, options?: Models.MicrosoftDatadogClientOptions) {
29
- if (credentials == undefined) {
30
- throw new Error('\'credentials\' cannot be null.');
31
- }
32
- if (subscriptionId == undefined) {
33
- throw new Error('\'subscriptionId\' cannot be null.');
34
- }
35
-
36
- if (!options) {
37
- options = {};
38
- }
39
- if (!options.userAgent) {
40
- const defaultUserAgent = msRestAzure.getDefaultUserAgentValue();
41
- options.userAgent = `${packageName}/${packageVersion} ${defaultUserAgent}`;
42
- }
43
-
44
- super(credentials, options);
45
-
46
- this.apiVersion = '2021-03-01';
47
- this.acceptLanguage = 'en-US';
48
- this.longRunningOperationRetryTimeout = 30;
49
- this.baseUri = options.baseUri || this.baseUri || "https://management.azure.com";
50
- this.requestContentType = "application/json; charset=utf-8";
51
- this.credentials = credentials;
52
- this.subscriptionId = subscriptionId;
53
-
54
- if (options.acceptLanguage !== null && options.acceptLanguage !== undefined) {
55
- this.acceptLanguage = options.acceptLanguage;
56
- }
57
- if (options.longRunningOperationRetryTimeout !== null && options.longRunningOperationRetryTimeout !== undefined) {
58
- this.longRunningOperationRetryTimeout = options.longRunningOperationRetryTimeout;
59
- }
60
- }
61
- }
@@ -1,31 +0,0 @@
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 {
10
- BaseResource,
11
- DatadogAgreementProperties,
12
- DatadogAgreementResource,
13
- DatadogAgreementResourceListResponse,
14
- DatadogMonitorResource,
15
- DatadogOrganizationProperties,
16
- DatadogSingleSignOnProperties,
17
- DatadogSingleSignOnResource,
18
- ErrorAdditionalInfo,
19
- ErrorDetail,
20
- ErrorResponse,
21
- FilteringTag,
22
- IdentityProperties,
23
- LogRules,
24
- MetricRules,
25
- MonitoringTagRules,
26
- MonitoringTagRulesProperties,
27
- MonitorProperties,
28
- ResourceSku,
29
- SystemData,
30
- UserInfo
31
- } from "../models/mappers";
@@ -1,45 +0,0 @@
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 {
10
- BaseResource,
11
- DatadogAgreementProperties,
12
- DatadogAgreementResource,
13
- DatadogApiKey,
14
- DatadogApiKeyListResponse,
15
- DatadogHost,
16
- DatadogHostListResponse,
17
- DatadogHostMetadata,
18
- DatadogInstallMethod,
19
- DatadogLogsAgent,
20
- DatadogMonitorResource,
21
- DatadogMonitorResourceListResponse,
22
- DatadogMonitorResourceUpdateParameters,
23
- DatadogOrganizationProperties,
24
- DatadogSetPasswordLink,
25
- DatadogSingleSignOnProperties,
26
- DatadogSingleSignOnResource,
27
- ErrorAdditionalInfo,
28
- ErrorDetail,
29
- ErrorResponse,
30
- FilteringTag,
31
- IdentityProperties,
32
- LinkedResource,
33
- LinkedResourceListResponse,
34
- LogRules,
35
- MetricRules,
36
- MonitoredResource,
37
- MonitoredResourceListResponse,
38
- MonitoringTagRules,
39
- MonitoringTagRulesProperties,
40
- MonitorProperties,
41
- MonitorUpdateProperties,
42
- ResourceSku,
43
- SystemData,
44
- UserInfo
45
- } from "../models/mappers";
@@ -1,31 +0,0 @@
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 {
10
- BaseResource,
11
- DatadogAgreementProperties,
12
- DatadogAgreementResource,
13
- DatadogMonitorResource,
14
- DatadogOrganizationProperties,
15
- DatadogSingleSignOnProperties,
16
- DatadogSingleSignOnResource,
17
- DatadogSingleSignOnResourceListResponse,
18
- ErrorAdditionalInfo,
19
- ErrorDetail,
20
- ErrorResponse,
21
- FilteringTag,
22
- IdentityProperties,
23
- LogRules,
24
- MetricRules,
25
- MonitoringTagRules,
26
- MonitoringTagRulesProperties,
27
- MonitorProperties,
28
- ResourceSku,
29
- SystemData,
30
- UserInfo
31
- } from "../models/mappers";
@@ -1,31 +0,0 @@
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 {
10
- BaseResource,
11
- DatadogAgreementProperties,
12
- DatadogAgreementResource,
13
- DatadogMonitorResource,
14
- DatadogOrganizationProperties,
15
- DatadogSingleSignOnProperties,
16
- DatadogSingleSignOnResource,
17
- ErrorAdditionalInfo,
18
- ErrorDetail,
19
- ErrorResponse,
20
- FilteringTag,
21
- IdentityProperties,
22
- LogRules,
23
- MetricRules,
24
- MonitoringTagRules,
25
- MonitoringTagRulesListResponse,
26
- MonitoringTagRulesProperties,
27
- MonitorProperties,
28
- ResourceSku,
29
- SystemData,
30
- UserInfo
31
- } from "../models/mappers";