@azure/arm-portal 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 (92) hide show
  1. package/CHANGELOG.md +3 -0
  2. package/LICENSE +21 -0
  3. package/README.md +98 -0
  4. package/dist/index.js +1627 -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/models/index.d.ts +334 -0
  13. package/dist-esm/src/models/index.d.ts.map +1 -0
  14. package/dist-esm/src/models/index.js +13 -0
  15. package/dist-esm/src/models/index.js.map +1 -0
  16. package/dist-esm/src/models/mappers.d.ts +28 -0
  17. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  18. package/dist-esm/src/models/mappers.js +624 -0
  19. package/dist-esm/src/models/mappers.js.map +1 -0
  20. package/dist-esm/src/models/parameters.d.ts +14 -0
  21. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  22. package/dist-esm/src/models/parameters.js +120 -0
  23. package/dist-esm/src/models/parameters.js.map +1 -0
  24. package/dist-esm/src/operations/dashboards.d.ts +83 -0
  25. package/dist-esm/src/operations/dashboards.d.ts.map +1 -0
  26. package/dist-esm/src/operations/dashboards.js +361 -0
  27. package/dist-esm/src/operations/dashboards.js.map +1 -0
  28. package/dist-esm/src/operations/index.d.ts +5 -0
  29. package/dist-esm/src/operations/index.d.ts.map +1 -0
  30. package/dist-esm/src/operations/index.js +12 -0
  31. package/dist-esm/src/operations/index.js.map +1 -0
  32. package/dist-esm/src/operations/listTenantConfigurationViolations.d.ts +32 -0
  33. package/dist-esm/src/operations/listTenantConfigurationViolations.d.ts.map +1 -0
  34. package/dist-esm/src/operations/listTenantConfigurationViolations.js +120 -0
  35. package/dist-esm/src/operations/listTenantConfigurationViolations.js.map +1 -0
  36. package/dist-esm/src/operations/operations.d.ts +32 -0
  37. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/operations.js +120 -0
  39. package/dist-esm/src/operations/operations.js.map +1 -0
  40. package/dist-esm/src/operations/tenantConfigurations.d.ts +52 -0
  41. package/dist-esm/src/operations/tenantConfigurations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/tenantConfigurations.js +199 -0
  43. package/dist-esm/src/operations/tenantConfigurations.js.map +1 -0
  44. package/dist-esm/src/operationsInterfaces/dashboards.d.ts +47 -0
  45. package/dist-esm/src/operationsInterfaces/dashboards.d.ts.map +1 -0
  46. package/dist-esm/src/operationsInterfaces/dashboards.js +9 -0
  47. package/dist-esm/src/operationsInterfaces/dashboards.js.map +1 -0
  48. package/dist-esm/src/operationsInterfaces/index.d.ts +5 -0
  49. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  50. package/dist-esm/src/operationsInterfaces/index.js +12 -0
  51. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  52. package/dist-esm/src/operationsInterfaces/listTenantConfigurationViolations.d.ts +11 -0
  53. package/dist-esm/src/operationsInterfaces/listTenantConfigurationViolations.d.ts.map +1 -0
  54. package/dist-esm/src/operationsInterfaces/listTenantConfigurationViolations.js +9 -0
  55. package/dist-esm/src/operationsInterfaces/listTenantConfigurationViolations.js.map +1 -0
  56. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  57. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  58. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  59. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  60. package/dist-esm/src/operationsInterfaces/tenantConfigurations.d.ts +31 -0
  61. package/dist-esm/src/operationsInterfaces/tenantConfigurations.d.ts.map +1 -0
  62. package/dist-esm/src/operationsInterfaces/tenantConfigurations.js +9 -0
  63. package/dist-esm/src/operationsInterfaces/tenantConfigurations.js.map +1 -0
  64. package/dist-esm/src/portal.d.ts +22 -0
  65. package/dist-esm/src/portal.d.ts.map +1 -0
  66. package/dist-esm/src/portal.js +55 -0
  67. package/dist-esm/src/portal.js.map +1 -0
  68. package/dist-esm/test/sampleTest.d.ts +2 -0
  69. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  70. package/dist-esm/test/sampleTest.js +40 -0
  71. package/dist-esm/test/sampleTest.js.map +1 -0
  72. package/package.json +90 -0
  73. package/review/arm-portal.api.md +349 -0
  74. package/rollup.config.js +188 -0
  75. package/src/index.ts +12 -0
  76. package/src/models/index.ts +389 -0
  77. package/src/models/mappers.ts +658 -0
  78. package/src/models/parameters.ts +141 -0
  79. package/src/operations/dashboards.ts +451 -0
  80. package/src/operations/index.ts +12 -0
  81. package/src/operations/listTenantConfigurationViolations.ts +138 -0
  82. package/src/operations/operations.ts +137 -0
  83. package/src/operations/tenantConfigurations.ts +244 -0
  84. package/src/operationsInterfaces/dashboards.ts +91 -0
  85. package/src/operationsInterfaces/index.ts +12 -0
  86. package/src/operationsInterfaces/listTenantConfigurationViolations.ts +25 -0
  87. package/src/operationsInterfaces/operations.ts +25 -0
  88. package/src/operationsInterfaces/tenantConfigurations.ts +61 -0
  89. package/src/portal.ts +94 -0
  90. package/tsconfig.json +19 -0
  91. package/types/arm-portal.d.ts +505 -0
  92. package/types/tsdoc-metadata.json +11 -0
@@ -0,0 +1,120 @@
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 { Dashboard as DashboardMapper, PatchableDashboard as PatchableDashboardMapper, Configuration as ConfigurationMapper } from "../models/mappers";
9
+ export const accept = {
10
+ parameterPath: "accept",
11
+ mapper: {
12
+ defaultValue: "application/json",
13
+ isConstant: true,
14
+ serializedName: "Accept",
15
+ type: {
16
+ name: "String"
17
+ }
18
+ }
19
+ };
20
+ export const $host = {
21
+ parameterPath: "$host",
22
+ mapper: {
23
+ serializedName: "$host",
24
+ required: true,
25
+ type: {
26
+ name: "String"
27
+ }
28
+ },
29
+ skipEncoding: true
30
+ };
31
+ export const apiVersion = {
32
+ parameterPath: "apiVersion",
33
+ mapper: {
34
+ defaultValue: "2020-09-01-preview",
35
+ isConstant: true,
36
+ serializedName: "api-version",
37
+ type: {
38
+ name: "String"
39
+ }
40
+ }
41
+ };
42
+ export const nextLink = {
43
+ parameterPath: "nextLink",
44
+ mapper: {
45
+ serializedName: "nextLink",
46
+ required: true,
47
+ type: {
48
+ name: "String"
49
+ }
50
+ },
51
+ skipEncoding: true
52
+ };
53
+ export const contentType = {
54
+ parameterPath: ["options", "contentType"],
55
+ mapper: {
56
+ defaultValue: "application/json",
57
+ isConstant: true,
58
+ serializedName: "Content-Type",
59
+ type: {
60
+ name: "String"
61
+ }
62
+ }
63
+ };
64
+ export const dashboard = {
65
+ parameterPath: "dashboard",
66
+ mapper: DashboardMapper
67
+ };
68
+ export const subscriptionId = {
69
+ parameterPath: "subscriptionId",
70
+ mapper: {
71
+ serializedName: "subscriptionId",
72
+ required: true,
73
+ type: {
74
+ name: "String"
75
+ }
76
+ }
77
+ };
78
+ export const resourceGroupName = {
79
+ parameterPath: "resourceGroupName",
80
+ mapper: {
81
+ serializedName: "resourceGroupName",
82
+ required: true,
83
+ type: {
84
+ name: "String"
85
+ }
86
+ }
87
+ };
88
+ export const dashboardName = {
89
+ parameterPath: "dashboardName",
90
+ mapper: {
91
+ constraints: {
92
+ MaxLength: 64,
93
+ MinLength: 3
94
+ },
95
+ serializedName: "dashboardName",
96
+ required: true,
97
+ type: {
98
+ name: "String"
99
+ }
100
+ }
101
+ };
102
+ export const dashboard1 = {
103
+ parameterPath: "dashboard",
104
+ mapper: PatchableDashboardMapper
105
+ };
106
+ export const configurationName = {
107
+ parameterPath: "configurationName",
108
+ mapper: {
109
+ serializedName: "configurationName",
110
+ required: true,
111
+ type: {
112
+ name: "String"
113
+ }
114
+ }
115
+ };
116
+ export const tenantConfiguration = {
117
+ parameterPath: "tenantConfiguration",
118
+ mapper: ConfigurationMapper
119
+ };
120
+ //# sourceMappingURL=parameters.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parameters.js","sourceRoot":"","sources":["../../../src/models/parameters.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,OAAO,EACL,SAAS,IAAI,eAAe,EAC5B,kBAAkB,IAAI,wBAAwB,EAC9C,aAAa,IAAI,mBAAmB,EACrC,MAAM,mBAAmB,CAAC;AAE3B,MAAM,CAAC,MAAM,MAAM,GAAuB;IACxC,aAAa,EAAE,QAAQ;IACvB,MAAM,EAAE;QACN,YAAY,EAAE,kBAAkB;QAChC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,QAAQ;QACxB,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,KAAK,GAA0B;IAC1C,aAAa,EAAE,OAAO;IACtB,MAAM,EAAE;QACN,cAAc,EAAE,OAAO;QACvB,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,CAAC;AAEF,MAAM,CAAC,MAAM,UAAU,GAA4B;IACjD,aAAa,EAAE,YAAY;IAC3B,MAAM,EAAE;QACN,YAAY,EAAE,oBAAoB;QAClC,UAAU,EAAE,IAAI;QAChB,cAAc,EAAE,aAAa;QAC7B,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,QAAQ,GAA0B;IAC7C,aAAa,EAAE,UAAU;IACzB,MAAM,EAAE;QACN,cAAc,EAAE,UAAU;QAC1B,QAAQ,EAAE,IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;IACD,YAAY,EAAE,IAAI;CACnB,C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IAAI;QACd,IAAI,EAAE;YACJ,IAAI,EAAE,QAAQ;SACf;KACF;CACF,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAuB;IACrD,aAAa,EAAE,qBAAqB;IACpC,MAAM,EAAE,mBAAmB;CAC5B,CAAC"}
@@ -0,0 +1,83 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { Dashboards } from "../operationsInterfaces";
3
+ import { Portal } from "../portal";
4
+ import { Dashboard, DashboardsListByResourceGroupOptionalParams, DashboardsListBySubscriptionOptionalParams, DashboardsCreateOrUpdateOptionalParams, DashboardsCreateOrUpdateResponse, DashboardsDeleteOptionalParams, DashboardsGetOptionalParams, DashboardsGetResponse, PatchableDashboard, DashboardsUpdateOptionalParams, DashboardsUpdateResponse } from "../models";
5
+ /** Class containing Dashboards operations. */
6
+ export declare class DashboardsImpl implements Dashboards {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class Dashboards class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: Portal);
13
+ /**
14
+ * Gets all the Dashboards within a resource group.
15
+ * @param resourceGroupName The name of the resource group.
16
+ * @param options The options parameters.
17
+ */
18
+ listByResourceGroup(resourceGroupName: string, options?: DashboardsListByResourceGroupOptionalParams): PagedAsyncIterableIterator<Dashboard>;
19
+ private listByResourceGroupPagingPage;
20
+ private listByResourceGroupPagingAll;
21
+ /**
22
+ * Gets all the dashboards within a subscription.
23
+ * @param options The options parameters.
24
+ */
25
+ listBySubscription(options?: DashboardsListBySubscriptionOptionalParams): PagedAsyncIterableIterator<Dashboard>;
26
+ private listBySubscriptionPagingPage;
27
+ private listBySubscriptionPagingAll;
28
+ /**
29
+ * Creates or updates a Dashboard.
30
+ * @param resourceGroupName The name of the resource group.
31
+ * @param dashboardName The name of the dashboard.
32
+ * @param dashboard The parameters required to create or update a dashboard.
33
+ * @param options The options parameters.
34
+ */
35
+ createOrUpdate(resourceGroupName: string, dashboardName: string, dashboard: Dashboard, options?: DashboardsCreateOrUpdateOptionalParams): Promise<DashboardsCreateOrUpdateResponse>;
36
+ /**
37
+ * Deletes the Dashboard.
38
+ * @param resourceGroupName The name of the resource group.
39
+ * @param dashboardName The name of the dashboard.
40
+ * @param options The options parameters.
41
+ */
42
+ delete(resourceGroupName: string, dashboardName: string, options?: DashboardsDeleteOptionalParams): Promise<void>;
43
+ /**
44
+ * Gets the Dashboard.
45
+ * @param resourceGroupName The name of the resource group.
46
+ * @param dashboardName The name of the dashboard.
47
+ * @param options The options parameters.
48
+ */
49
+ get(resourceGroupName: string, dashboardName: string, options?: DashboardsGetOptionalParams): Promise<DashboardsGetResponse>;
50
+ /**
51
+ * Updates an existing Dashboard.
52
+ * @param resourceGroupName The name of the resource group.
53
+ * @param dashboardName The name of the dashboard.
54
+ * @param dashboard The updatable fields of a Dashboard.
55
+ * @param options The options parameters.
56
+ */
57
+ update(resourceGroupName: string, dashboardName: string, dashboard: PatchableDashboard, options?: DashboardsUpdateOptionalParams): Promise<DashboardsUpdateResponse>;
58
+ /**
59
+ * Gets all the Dashboards within a resource group.
60
+ * @param resourceGroupName The name of the resource group.
61
+ * @param options The options parameters.
62
+ */
63
+ private _listByResourceGroup;
64
+ /**
65
+ * Gets all the dashboards within a subscription.
66
+ * @param options The options parameters.
67
+ */
68
+ private _listBySubscription;
69
+ /**
70
+ * ListByResourceGroupNext
71
+ * @param resourceGroupName The name of the resource group.
72
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
73
+ * @param options The options parameters.
74
+ */
75
+ private _listByResourceGroupNext;
76
+ /**
77
+ * ListBySubscriptionNext
78
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
79
+ * @param options The options parameters.
80
+ */
81
+ private _listBySubscriptionNext;
82
+ }
83
+ //# sourceMappingURL=dashboards.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboards.d.ts","sourceRoot":"","sources":["../../../src/operations/dashboards.ts"],"names":[],"mappings":"AAQA,OAAO,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M,CACJ,iBAAiB,EAAE,MAAM,EACzB,aAAa,EAAE,MAAM,EACrB,SAAS,EAAE,kBAAkB,EAC7B,OAAO,CAAC,EAAE,8BAA8B,GACvC,OAAO,CAAC,wBAAwB,CAAC;IAOpC;;;;OAIG;IACH,OAAO,CAAC,oBAAoB;IAU5B;;;OAGG;IACH,OAAO,CAAC,mBAAmB;IAS3B;;;;;OAKG;IACH,OAAO,CAAC,wBAAwB;IAWhC;;;;OAIG;IACH,OAAO,CAAC,uBAAuB;CAShC"}
@@ -0,0 +1,361 @@
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 * as coreClient from "@azure/core-client";
10
+ import * as Mappers from "../models/mappers";
11
+ import * as Parameters from "../models/parameters";
12
+ /// <reference lib="esnext.asynciterable" />
13
+ /** Class containing Dashboards operations. */
14
+ export class DashboardsImpl {
15
+ /**
16
+ * Initialize a new instance of the class Dashboards class.
17
+ * @param client Reference to the service client
18
+ */
19
+ constructor(client) {
20
+ this.client = client;
21
+ }
22
+ /**
23
+ * Gets all the Dashboards within a resource group.
24
+ * @param resourceGroupName The name of the resource group.
25
+ * @param options The options parameters.
26
+ */
27
+ listByResourceGroup(resourceGroupName, options) {
28
+ const iter = this.listByResourceGroupPagingAll(resourceGroupName, options);
29
+ return {
30
+ next() {
31
+ return iter.next();
32
+ },
33
+ [Symbol.asyncIterator]() {
34
+ return this;
35
+ },
36
+ byPage: () => {
37
+ return this.listByResourceGroupPagingPage(resourceGroupName, options);
38
+ }
39
+ };
40
+ }
41
+ listByResourceGroupPagingPage(resourceGroupName, options) {
42
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingPage_1() {
43
+ let result = yield __await(this._listByResourceGroup(resourceGroupName, options));
44
+ yield yield __await(result.value || []);
45
+ let continuationToken = result.nextLink;
46
+ while (continuationToken) {
47
+ result = yield __await(this._listByResourceGroupNext(resourceGroupName, continuationToken, options));
48
+ continuationToken = result.nextLink;
49
+ yield yield __await(result.value || []);
50
+ }
51
+ });
52
+ }
53
+ listByResourceGroupPagingAll(resourceGroupName, options) {
54
+ return __asyncGenerator(this, arguments, function* listByResourceGroupPagingAll_1() {
55
+ var e_1, _a;
56
+ try {
57
+ for (var _b = __asyncValues(this.listByResourceGroupPagingPage(resourceGroupName, options)), _c; _c = yield __await(_b.next()), !_c.done;) {
58
+ const page = _c.value;
59
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
60
+ }
61
+ }
62
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
63
+ finally {
64
+ try {
65
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
66
+ }
67
+ finally { if (e_1) throw e_1.error; }
68
+ }
69
+ });
70
+ }
71
+ /**
72
+ * Gets all the dashboards within a subscription.
73
+ * @param options The options parameters.
74
+ */
75
+ listBySubscription(options) {
76
+ const iter = this.listBySubscriptionPagingAll(options);
77
+ return {
78
+ next() {
79
+ return iter.next();
80
+ },
81
+ [Symbol.asyncIterator]() {
82
+ return this;
83
+ },
84
+ byPage: () => {
85
+ return this.listBySubscriptionPagingPage(options);
86
+ }
87
+ };
88
+ }
89
+ listBySubscriptionPagingPage(options) {
90
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingPage_1() {
91
+ let result = yield __await(this._listBySubscription(options));
92
+ yield yield __await(result.value || []);
93
+ let continuationToken = result.nextLink;
94
+ while (continuationToken) {
95
+ result = yield __await(this._listBySubscriptionNext(continuationToken, options));
96
+ continuationToken = result.nextLink;
97
+ yield yield __await(result.value || []);
98
+ }
99
+ });
100
+ }
101
+ listBySubscriptionPagingAll(options) {
102
+ return __asyncGenerator(this, arguments, function* listBySubscriptionPagingAll_1() {
103
+ var e_2, _a;
104
+ try {
105
+ for (var _b = __asyncValues(this.listBySubscriptionPagingPage(options)), _c; _c = yield __await(_b.next()), !_c.done;) {
106
+ const page = _c.value;
107
+ yield __await(yield* __asyncDelegator(__asyncValues(page)));
108
+ }
109
+ }
110
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
111
+ finally {
112
+ try {
113
+ if (_c && !_c.done && (_a = _b.return)) yield __await(_a.call(_b));
114
+ }
115
+ finally { if (e_2) throw e_2.error; }
116
+ }
117
+ });
118
+ }
119
+ /**
120
+ * Creates or updates a Dashboard.
121
+ * @param resourceGroupName The name of the resource group.
122
+ * @param dashboardName The name of the dashboard.
123
+ * @param dashboard The parameters required to create or update a dashboard.
124
+ * @param options The options parameters.
125
+ */
126
+ createOrUpdate(resourceGroupName, dashboardName, dashboard, options) {
127
+ return this.client.sendOperationRequest({ resourceGroupName, dashboardName, dashboard, options }, createOrUpdateOperationSpec);
128
+ }
129
+ /**
130
+ * Deletes the Dashboard.
131
+ * @param resourceGroupName The name of the resource group.
132
+ * @param dashboardName The name of the dashboard.
133
+ * @param options The options parameters.
134
+ */
135
+ delete(resourceGroupName, dashboardName, options) {
136
+ return this.client.sendOperationRequest({ resourceGroupName, dashboardName, options }, deleteOperationSpec);
137
+ }
138
+ /**
139
+ * Gets the Dashboard.
140
+ * @param resourceGroupName The name of the resource group.
141
+ * @param dashboardName The name of the dashboard.
142
+ * @param options The options parameters.
143
+ */
144
+ get(resourceGroupName, dashboardName, options) {
145
+ return this.client.sendOperationRequest({ resourceGroupName, dashboardName, options }, getOperationSpec);
146
+ }
147
+ /**
148
+ * Updates an existing Dashboard.
149
+ * @param resourceGroupName The name of the resource group.
150
+ * @param dashboardName The name of the dashboard.
151
+ * @param dashboard The updatable fields of a Dashboard.
152
+ * @param options The options parameters.
153
+ */
154
+ update(resourceGroupName, dashboardName, dashboard, options) {
155
+ return this.client.sendOperationRequest({ resourceGroupName, dashboardName, dashboard, options }, updateOperationSpec);
156
+ }
157
+ /**
158
+ * Gets all the Dashboards within a resource group.
159
+ * @param resourceGroupName The name of the resource group.
160
+ * @param options The options parameters.
161
+ */
162
+ _listByResourceGroup(resourceGroupName, options) {
163
+ return this.client.sendOperationRequest({ resourceGroupName, options }, listByResourceGroupOperationSpec);
164
+ }
165
+ /**
166
+ * Gets all the dashboards within a subscription.
167
+ * @param options The options parameters.
168
+ */
169
+ _listBySubscription(options) {
170
+ return this.client.sendOperationRequest({ options }, listBySubscriptionOperationSpec);
171
+ }
172
+ /**
173
+ * ListByResourceGroupNext
174
+ * @param resourceGroupName The name of the resource group.
175
+ * @param nextLink The nextLink from the previous successful call to the ListByResourceGroup method.
176
+ * @param options The options parameters.
177
+ */
178
+ _listByResourceGroupNext(resourceGroupName, nextLink, options) {
179
+ return this.client.sendOperationRequest({ resourceGroupName, nextLink, options }, listByResourceGroupNextOperationSpec);
180
+ }
181
+ /**
182
+ * ListBySubscriptionNext
183
+ * @param nextLink The nextLink from the previous successful call to the ListBySubscription method.
184
+ * @param options The options parameters.
185
+ */
186
+ _listBySubscriptionNext(nextLink, options) {
187
+ return this.client.sendOperationRequest({ nextLink, options }, listBySubscriptionNextOperationSpec);
188
+ }
189
+ }
190
+ // Operation Specifications
191
+ const serializer = coreClient.createSerializer(Mappers, /* isXml */ false);
192
+ const createOrUpdateOperationSpec = {
193
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}",
194
+ httpMethod: "PUT",
195
+ responses: {
196
+ 200: {
197
+ bodyMapper: Mappers.Dashboard
198
+ },
199
+ 201: {
200
+ bodyMapper: Mappers.Dashboard
201
+ },
202
+ default: {
203
+ bodyMapper: Mappers.ErrorResponse
204
+ }
205
+ },
206
+ requestBody: Parameters.dashboard,
207
+ queryParameters: [Parameters.apiVersion],
208
+ urlParameters: [
209
+ Parameters.$host,
210
+ Parameters.subscriptionId,
211
+ Parameters.resourceGroupName,
212
+ Parameters.dashboardName
213
+ ],
214
+ headerParameters: [Parameters.accept, Parameters.contentType],
215
+ mediaType: "json",
216
+ serializer
217
+ };
218
+ const deleteOperationSpec = {
219
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}",
220
+ httpMethod: "DELETE",
221
+ responses: {
222
+ 200: {},
223
+ 204: {},
224
+ default: {
225
+ bodyMapper: Mappers.ErrorResponse
226
+ }
227
+ },
228
+ queryParameters: [Parameters.apiVersion],
229
+ urlParameters: [
230
+ Parameters.$host,
231
+ Parameters.subscriptionId,
232
+ Parameters.resourceGroupName,
233
+ Parameters.dashboardName
234
+ ],
235
+ headerParameters: [Parameters.accept],
236
+ serializer
237
+ };
238
+ const getOperationSpec = {
239
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}",
240
+ httpMethod: "GET",
241
+ responses: {
242
+ 200: {
243
+ bodyMapper: Mappers.Dashboard
244
+ },
245
+ 404: {},
246
+ default: {
247
+ bodyMapper: Mappers.ErrorResponse
248
+ }
249
+ },
250
+ queryParameters: [Parameters.apiVersion],
251
+ urlParameters: [
252
+ Parameters.$host,
253
+ Parameters.subscriptionId,
254
+ Parameters.resourceGroupName,
255
+ Parameters.dashboardName
256
+ ],
257
+ headerParameters: [Parameters.accept],
258
+ serializer
259
+ };
260
+ const updateOperationSpec = {
261
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards/{dashboardName}",
262
+ httpMethod: "PATCH",
263
+ responses: {
264
+ 200: {
265
+ bodyMapper: Mappers.Dashboard
266
+ },
267
+ 404: {},
268
+ default: {
269
+ bodyMapper: Mappers.ErrorResponse
270
+ }
271
+ },
272
+ requestBody: Parameters.dashboard1,
273
+ queryParameters: [Parameters.apiVersion],
274
+ urlParameters: [
275
+ Parameters.$host,
276
+ Parameters.subscriptionId,
277
+ Parameters.resourceGroupName,
278
+ Parameters.dashboardName
279
+ ],
280
+ headerParameters: [Parameters.accept, Parameters.contentType],
281
+ mediaType: "json",
282
+ serializer
283
+ };
284
+ const listByResourceGroupOperationSpec = {
285
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Portal/dashboards",
286
+ httpMethod: "GET",
287
+ responses: {
288
+ 200: {
289
+ bodyMapper: Mappers.DashboardListResult
290
+ },
291
+ default: {
292
+ bodyMapper: Mappers.ErrorResponse
293
+ }
294
+ },
295
+ queryParameters: [Parameters.apiVersion],
296
+ urlParameters: [
297
+ Parameters.$host,
298
+ Parameters.subscriptionId,
299
+ Parameters.resourceGroupName
300
+ ],
301
+ headerParameters: [Parameters.accept],
302
+ serializer
303
+ };
304
+ const listBySubscriptionOperationSpec = {
305
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.Portal/dashboards",
306
+ httpMethod: "GET",
307
+ responses: {
308
+ 200: {
309
+ bodyMapper: Mappers.DashboardListResult
310
+ },
311
+ default: {
312
+ bodyMapper: Mappers.ErrorResponse
313
+ }
314
+ },
315
+ queryParameters: [Parameters.apiVersion],
316
+ urlParameters: [Parameters.$host, Parameters.subscriptionId],
317
+ headerParameters: [Parameters.accept],
318
+ serializer
319
+ };
320
+ const listByResourceGroupNextOperationSpec = {
321
+ path: "{nextLink}",
322
+ httpMethod: "GET",
323
+ responses: {
324
+ 200: {
325
+ bodyMapper: Mappers.DashboardListResult
326
+ },
327
+ default: {
328
+ bodyMapper: Mappers.ErrorResponse
329
+ }
330
+ },
331
+ queryParameters: [Parameters.apiVersion],
332
+ urlParameters: [
333
+ Parameters.$host,
334
+ Parameters.nextLink,
335
+ Parameters.subscriptionId,
336
+ Parameters.resourceGroupName
337
+ ],
338
+ headerParameters: [Parameters.accept],
339
+ serializer
340
+ };
341
+ const listBySubscriptionNextOperationSpec = {
342
+ path: "{nextLink}",
343
+ httpMethod: "GET",
344
+ responses: {
345
+ 200: {
346
+ bodyMapper: Mappers.DashboardListResult
347
+ },
348
+ default: {
349
+ bodyMapper: Mappers.ErrorResponse
350
+ }
351
+ },
352
+ queryParameters: [Parameters.apiVersion],
353
+ urlParameters: [
354
+ Parameters.$host,
355
+ Parameters.nextLink,
356
+ Parameters.subscriptionId
357
+ ],
358
+ headerParameters: [Parameters.accept],
359
+ serializer
360
+ };
361
+ //# sourceMappingURL=dashboards.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dashboards.js","sourceRoot":"","sources":["../../../src/operations/dashboards.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,KAAK,UAAU,MAAM,oBAAoB,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAC;AAC7C,OAAO,KAAK,UAAU,MAAM,sBAAsB,CAAC;AAsBnD,4CAA4C;AAC5C,8CAA8C;AAC9C,MAAM,OAAO,cAAc;IAGzB;;;OAGG;IACH,YAAY,MAAc;QACxB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACvB,CAAC;IAED;;;;OAIG;IACI,mBAAmB,CACxB,iBAAyB,EACzB,OAAqD;QAErD,MAAM,IAAI,GAAG,IAAI,CAAC,4BAA4B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;QAC3E,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,GAAG,EAAE;gBACX,OAAO,IAAI,CAAC,6BAA6B,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAC;YACxE,CAAC;SACF,CAAC;IACJ,CAAC;IAEc,6BAA6B,CAC1C,iBAAyB,EACzB,OAAqD;;YAErD,IAAI,MAAM,GAAG,cAAM,IAAI,CAAC,oBAAoB,CAAC,iBAAiB,EAAE,OAAO,CAAC,CAAA,CAAC;YACzE,oBAAM,MAAM,CAAC,KAAK,IAAI,EAAE,CAAA,CAAC;YACzB,IAAI,iBAAiB,GAAG,MAAM,CAAC,QAAQ,CAAC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EAAE,UAAU,CAAC,cAAc,CAAC;IAC5D,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,oCAAoC,GAA6B;IACrE,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;QACzB,UAAU,CAAC,iBAAiB;KAC7B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC;AACF,MAAM,mCAAmC,GAA6B;IACpE,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,eAAe,EAAE,CAAC,UAAU,CAAC,UAAU,CAAC;IACxC,aAAa,EAAE;QACb,UAAU,CAAC,KAAK;QAChB,UAAU,CAAC,QAAQ;QACnB,UAAU,CAAC,cAAc;KAC1B;IACD,gBAAgB,EAAE,CAAC,UAAU,CAAC,MAAM,CAAC;IACrC,UAAU;CACX,CAAC"}
@@ -0,0 +1,5 @@
1
+ export * from "./operations";
2
+ export * from "./dashboards";
3
+ export * from "./tenantConfigurations";
4
+ export * from "./listTenantConfigurationViolations";
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAQA,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,12 @@
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
+ export * from "./operations";
9
+ export * from "./dashboards";
10
+ export * from "./tenantConfigurations";
11
+ export * from "./listTenantConfigurationViolations";
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/operations/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,wBAAwB,CAAC;AACvC,cAAc,qCAAqC,CAAC"}
@@ -0,0 +1,32 @@
1
+ import { PagedAsyncIterableIterator } from "@azure/core-paging";
2
+ import { ListTenantConfigurationViolations } from "../operationsInterfaces";
3
+ import { Portal } from "../portal";
4
+ import { Violation, ListTenantConfigurationViolationsListOptionalParams } from "../models";
5
+ /** Class containing ListTenantConfigurationViolations operations. */
6
+ export declare class ListTenantConfigurationViolationsImpl implements ListTenantConfigurationViolations {
7
+ private readonly client;
8
+ /**
9
+ * Initialize a new instance of the class ListTenantConfigurationViolations class.
10
+ * @param client Reference to the service client
11
+ */
12
+ constructor(client: Portal);
13
+ /**
14
+ * Gets list of items that violate tenant's configuration.
15
+ * @param options The options parameters.
16
+ */
17
+ list(options?: ListTenantConfigurationViolationsListOptionalParams): PagedAsyncIterableIterator<Violation>;
18
+ private listPagingPage;
19
+ private listPagingAll;
20
+ /**
21
+ * Gets list of items that violate tenant's configuration.
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=listTenantConfigurationViolations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listTenantConfigurationViolations.d.ts","sourceRoot":"","sources":["../../../src/operations/listTenantConfigurationViolations.ts"],"names":[],"mappings":"AAQA,OAAO,EAAE,0BAA0B,EAAE,MAAM,oBAAoB,CAAC;AAChE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAC;AAI5E,OAAO,EAAE,MAAM,EAAE,MAAM,WAAW,CAAC;AACnC,OAAO,EACL,SAAS,EAET,mDAAmD,EAGpD,MAAM,WAAW,CAAC;AAGnB,qEAAqE;AACrE,qBAAa,qCACX,YAAW,iCAAiC;IAC5C,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAEhC;;;OAGG;gBACS,MAAM,EAAE,MAAM;IAI1B;;;OAGG;IACI,IAAI,CACT,OAAO,CAAC,EAAE,mDAAmD,GAC5D,0BAA0B,CAAC,SAAS,CAAC;YAezB,cAAc;YAad,aAAa;IAQ5B;;;OAGG;IACH,OAAO,CAAC,KAAK;IAMb;;;;OAIG;IACH,OAAO,CAAC,SAAS;CASlB"}