@distilled.cloud/azure 0.9.0 → 0.10.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 (140) hide show
  1. package/lib/services/app.d.ts +551 -0
  2. package/lib/services/app.d.ts.map +1 -1
  3. package/lib/services/app.js +788 -0
  4. package/lib/services/app.js.map +1 -1
  5. package/lib/services/applicationinsights.d.ts +56 -85
  6. package/lib/services/applicationinsights.d.ts.map +1 -1
  7. package/lib/services/applicationinsights.js +56 -120
  8. package/lib/services/applicationinsights.js.map +1 -1
  9. package/lib/services/authorization.d.ts +61 -243
  10. package/lib/services/authorization.d.ts.map +1 -1
  11. package/lib/services/authorization.js +61 -303
  12. package/lib/services/authorization.js.map +1 -1
  13. package/lib/services/automation.d.ts +764 -1010
  14. package/lib/services/automation.d.ts.map +1 -1
  15. package/lib/services/automation.js +764 -1070
  16. package/lib/services/automation.js.map +1 -1
  17. package/lib/services/azure-kusto.d.ts +440 -166
  18. package/lib/services/azure-kusto.d.ts.map +1 -1
  19. package/lib/services/azure-kusto.js +440 -166
  20. package/lib/services/azure-kusto.js.map +1 -1
  21. package/lib/services/batch.d.ts +1 -1
  22. package/lib/services/batch.js +1 -1
  23. package/lib/services/batch.js.map +1 -1
  24. package/lib/services/cognitiveservices.d.ts +2 -0
  25. package/lib/services/cognitiveservices.d.ts.map +1 -1
  26. package/lib/services/cognitiveservices.js +3 -1
  27. package/lib/services/cognitiveservices.js.map +1 -1
  28. package/lib/services/computelimit.d.ts +188 -0
  29. package/lib/services/computelimit.d.ts.map +1 -1
  30. package/lib/services/computelimit.js +236 -0
  31. package/lib/services/computelimit.js.map +1 -1
  32. package/lib/services/containerinstance.d.ts +210 -1291
  33. package/lib/services/containerinstance.d.ts.map +1 -1
  34. package/lib/services/containerinstance.js +250 -1355
  35. package/lib/services/containerinstance.js.map +1 -1
  36. package/lib/services/databricks.d.ts +111 -187
  37. package/lib/services/databricks.d.ts.map +1 -1
  38. package/lib/services/databricks.js +111 -220
  39. package/lib/services/databricks.js.map +1 -1
  40. package/lib/services/desktopvirtualization.d.ts +51 -575
  41. package/lib/services/desktopvirtualization.d.ts.map +1 -1
  42. package/lib/services/desktopvirtualization.js +56 -590
  43. package/lib/services/desktopvirtualization.js.map +1 -1
  44. package/lib/services/imagebuilder.d.ts +129 -15
  45. package/lib/services/imagebuilder.d.ts.map +1 -1
  46. package/lib/services/imagebuilder.js +129 -15
  47. package/lib/services/imagebuilder.js.map +1 -1
  48. package/lib/services/index.d.ts +2 -0
  49. package/lib/services/index.d.ts.map +1 -1
  50. package/lib/services/index.js +2 -0
  51. package/lib/services/index.js.map +1 -1
  52. package/lib/services/managednetworkfabric.d.ts +4283 -693
  53. package/lib/services/managednetworkfabric.d.ts.map +1 -1
  54. package/lib/services/managednetworkfabric.js +4833 -828
  55. package/lib/services/managednetworkfabric.js.map +1 -1
  56. package/lib/services/monitor.d.ts +81 -73
  57. package/lib/services/monitor.d.ts.map +1 -1
  58. package/lib/services/monitor.js +91 -88
  59. package/lib/services/monitor.js.map +1 -1
  60. package/lib/services/monitoringservice.d.ts +149 -0
  61. package/lib/services/monitoringservice.d.ts.map +1 -0
  62. package/lib/services/monitoringservice.js +216 -0
  63. package/lib/services/monitoringservice.js.map +1 -0
  64. package/lib/services/network.d.ts +4513 -3857
  65. package/lib/services/network.d.ts.map +1 -1
  66. package/lib/services/network.js +4544 -4056
  67. package/lib/services/network.js.map +1 -1
  68. package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
  69. package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
  70. package/lib/services/orbitalplanetarycomputer.js +183 -0
  71. package/lib/services/orbitalplanetarycomputer.js.map +1 -0
  72. package/lib/services/recoveryservicesbackup.d.ts +24 -312
  73. package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
  74. package/lib/services/recoveryservicesbackup.js +24 -312
  75. package/lib/services/recoveryservicesbackup.js.map +1 -1
  76. package/lib/services/redhatopenshift.d.ts +9 -11
  77. package/lib/services/redhatopenshift.d.ts.map +1 -1
  78. package/lib/services/redhatopenshift.js +9 -11
  79. package/lib/services/redhatopenshift.js.map +1 -1
  80. package/lib/services/reservations.d.ts +159 -239
  81. package/lib/services/reservations.d.ts.map +1 -1
  82. package/lib/services/reservations.js +159 -369
  83. package/lib/services/reservations.js.map +1 -1
  84. package/lib/services/resourcegraph.d.ts +64 -30
  85. package/lib/services/resourcegraph.d.ts.map +1 -1
  86. package/lib/services/resourcegraph.js +74 -30
  87. package/lib/services/resourcegraph.js.map +1 -1
  88. package/lib/services/resources.d.ts +549 -3331
  89. package/lib/services/resources.d.ts.map +1 -1
  90. package/lib/services/resources.js +1029 -4846
  91. package/lib/services/resources.js.map +1 -1
  92. package/lib/services/search.d.ts +9 -2
  93. package/lib/services/search.d.ts.map +1 -1
  94. package/lib/services/search.js +9 -2
  95. package/lib/services/search.js.map +1 -1
  96. package/lib/services/sql.d.ts +4008 -2495
  97. package/lib/services/sql.d.ts.map +1 -1
  98. package/lib/services/sql.js +4208 -2521
  99. package/lib/services/sql.js.map +1 -1
  100. package/lib/services/storage.d.ts +4 -20
  101. package/lib/services/storage.d.ts.map +1 -1
  102. package/lib/services/storage.js +4 -20
  103. package/lib/services/storage.js.map +1 -1
  104. package/lib/services/storageactions.d.ts +18 -0
  105. package/lib/services/storageactions.d.ts.map +1 -1
  106. package/lib/services/storageactions.js +28 -0
  107. package/lib/services/storageactions.js.map +1 -1
  108. package/lib/services/storagecache.d.ts +288 -752
  109. package/lib/services/storagecache.d.ts.map +1 -1
  110. package/lib/services/storagecache.js +312 -930
  111. package/lib/services/storagecache.js.map +1 -1
  112. package/package.json +4 -4
  113. package/src/services/app.ts +1014 -0
  114. package/src/services/applicationinsights.ts +56 -169
  115. package/src/services/authorization.ts +65 -397
  116. package/src/services/automation.ts +1179 -1686
  117. package/src/services/azure-kusto.ts +494 -228
  118. package/src/services/batch.ts +1 -1
  119. package/src/services/cognitiveservices.ts +3 -1
  120. package/src/services/computelimit.ts +310 -0
  121. package/src/services/containerinstance.ts +1393 -3134
  122. package/src/services/databricks.ts +125 -294
  123. package/src/services/desktopvirtualization.ts +83 -859
  124. package/src/services/imagebuilder.ts +129 -21
  125. package/src/services/index.ts +2 -0
  126. package/src/services/managednetworkfabric.ts +7141 -1408
  127. package/src/services/monitor.ts +134 -136
  128. package/src/services/monitoringservice.ts +287 -0
  129. package/src/services/network.ts +5738 -6158
  130. package/src/services/orbitalplanetarycomputer.ts +233 -0
  131. package/src/services/recoveryservicesbackup.ts +26 -456
  132. package/src/services/redhatopenshift.ts +26 -34
  133. package/src/services/reservations.ts +209 -553
  134. package/src/services/resourcegraph.ts +123 -55
  135. package/src/services/resources.ts +1852 -8168
  136. package/src/services/search.ts +9 -2
  137. package/src/services/sql.ts +4552 -2757
  138. package/src/services/storage.ts +4 -22
  139. package/src/services/storageactions.ts +36 -0
  140. package/src/services/storagecache.ts +312 -1303
@@ -8,34 +8,30 @@ import * as Schema from "effect/Schema";
8
8
  export declare const WorkbooksCreateOrUpdateInput: Schema.Struct<{
9
9
  readonly subscriptionId: Schema.String;
10
10
  readonly resourceGroupName: Schema.String;
11
+ readonly resourceName: Schema.String;
11
12
  readonly "api-version": Schema.String;
13
+ readonly sourceId: Schema.optional<Schema.String>;
12
14
  }>;
13
15
  export type WorkbooksCreateOrUpdateInput = typeof WorkbooksCreateOrUpdateInput.Type;
14
16
  export declare const WorkbooksCreateOrUpdateOutput: Schema.Struct<{
15
- readonly identity: Schema.optional<Schema.Struct<{
16
- readonly principalId: Schema.optional<Schema.String>;
17
- readonly tenantId: Schema.optional<Schema.String>;
18
- readonly type: Schema.Literals<readonly ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]>;
19
- readonly userAssignedIdentities: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
20
- readonly principalId: Schema.optional<Schema.String>;
21
- readonly clientId: Schema.optional<Schema.String>;
22
- }>>>;
23
- }>>;
24
- readonly kind: Schema.optional<Schema.Literals<readonly ["shared"]>>;
25
- readonly etag: Schema.optional<Schema.String>;
17
+ readonly tags: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
18
+ readonly location: Schema.String;
26
19
  }>;
27
20
  export type WorkbooksCreateOrUpdateOutput = typeof WorkbooksCreateOrUpdateOutput.Type;
28
21
  /**
29
22
  * Create a new workbook.
30
23
  *
24
+ * @param api-version - The API version to use for this operation.
31
25
  * @param subscriptionId - The ID of the target subscription.
32
26
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
33
- * @param api-version - The API version to use for this operation.
27
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
28
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
34
29
  */
35
30
  export declare const WorkbooksCreateOrUpdate: any;
36
31
  export declare const WorkbooksDeleteInput: Schema.Struct<{
37
32
  readonly subscriptionId: Schema.String;
38
33
  readonly resourceGroupName: Schema.String;
34
+ readonly resourceName: Schema.String;
39
35
  readonly "api-version": Schema.String;
40
36
  }>;
41
37
  export type WorkbooksDeleteInput = typeof WorkbooksDeleteInput.Type;
@@ -44,58 +40,49 @@ export type WorkbooksDeleteOutput = typeof WorkbooksDeleteOutput.Type;
44
40
  /**
45
41
  * Delete a workbook.
46
42
  *
43
+ * @param api-version - The API version to use for this operation.
47
44
  * @param subscriptionId - The ID of the target subscription.
48
45
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
49
- * @param api-version - The API version to use for this operation.
46
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
50
47
  */
51
48
  export declare const WorkbooksDelete: any;
52
49
  export declare const WorkbooksGetInput: Schema.Struct<{
53
50
  readonly subscriptionId: Schema.String;
54
51
  readonly resourceGroupName: Schema.String;
52
+ readonly resourceName: Schema.String;
55
53
  readonly "api-version": Schema.String;
54
+ readonly canFetchContent: Schema.optional<Schema.Boolean>;
56
55
  }>;
57
56
  export type WorkbooksGetInput = typeof WorkbooksGetInput.Type;
58
57
  export declare const WorkbooksGetOutput: Schema.Struct<{
59
- readonly identity: Schema.optional<Schema.Struct<{
60
- readonly principalId: Schema.optional<Schema.String>;
61
- readonly tenantId: Schema.optional<Schema.String>;
62
- readonly type: Schema.Literals<readonly ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]>;
63
- readonly userAssignedIdentities: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
64
- readonly principalId: Schema.optional<Schema.String>;
65
- readonly clientId: Schema.optional<Schema.String>;
66
- }>>>;
67
- }>>;
68
- readonly kind: Schema.optional<Schema.Literals<readonly ["shared"]>>;
69
- readonly etag: Schema.optional<Schema.String>;
58
+ readonly tags: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
59
+ readonly location: Schema.String;
70
60
  }>;
71
61
  export type WorkbooksGetOutput = typeof WorkbooksGetOutput.Type;
72
62
  /**
73
63
  * Get a single workbook by its resourceName.
74
64
  *
65
+ * @param api-version - The API version to use for this operation.
75
66
  * @param subscriptionId - The ID of the target subscription.
76
67
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
77
- * @param api-version - The API version to use for this operation.
68
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
69
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
78
70
  */
79
71
  export declare const WorkbooksGet: any;
80
72
  export declare const WorkbooksListByResourceGroupInput: Schema.Struct<{
81
73
  readonly subscriptionId: Schema.String;
82
74
  readonly resourceGroupName: Schema.String;
83
75
  readonly "api-version": Schema.String;
76
+ readonly category: Schema.Literals<readonly ["workbook", "TSG", "performance", "retention"]>;
77
+ readonly tags: Schema.optional<Schema.String>;
78
+ readonly sourceId: Schema.optional<Schema.String>;
79
+ readonly canFetchContent: Schema.optional<Schema.Boolean>;
84
80
  }>;
85
81
  export type WorkbooksListByResourceGroupInput = typeof WorkbooksListByResourceGroupInput.Type;
86
82
  export declare const WorkbooksListByResourceGroupOutput: Schema.Struct<{
87
83
  readonly value: Schema.optional<Schema.$Array<Schema.Struct<{
88
- readonly identity: Schema.optional<Schema.Struct<{
89
- readonly principalId: Schema.optional<Schema.String>;
90
- readonly tenantId: Schema.optional<Schema.String>;
91
- readonly type: Schema.Literals<readonly ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]>;
92
- readonly userAssignedIdentities: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
93
- readonly principalId: Schema.optional<Schema.String>;
94
- readonly clientId: Schema.optional<Schema.String>;
95
- }>>>;
96
- }>>;
97
- readonly kind: Schema.optional<Schema.Literals<readonly ["shared"]>>;
98
- readonly etag: Schema.optional<Schema.String>;
84
+ readonly tags: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
85
+ readonly location: Schema.String;
99
86
  }>>>;
100
87
  readonly nextLink: Schema.optional<Schema.String>;
101
88
  }>;
@@ -103,29 +90,27 @@ export type WorkbooksListByResourceGroupOutput = typeof WorkbooksListByResourceG
103
90
  /**
104
91
  * Get all Workbooks defined within a specified resource group and category.
105
92
  *
93
+ * @param api-version - The API version to use for this operation.
106
94
  * @param subscriptionId - The ID of the target subscription.
107
95
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
108
- * @param api-version - The API version to use for this operation.
96
+ * @param category - Category of workbook to return.
97
+ * @param tags - Tags presents on each workbook returned.
98
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
99
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
109
100
  */
110
101
  export declare const WorkbooksListByResourceGroup: any;
111
102
  export declare const WorkbooksListBySubscriptionInput: Schema.Struct<{
112
103
  readonly subscriptionId: Schema.String;
113
104
  readonly "api-version": Schema.String;
105
+ readonly category: Schema.Literals<readonly ["workbook", "TSG", "performance", "retention"]>;
106
+ readonly tags: Schema.optional<Schema.String>;
107
+ readonly canFetchContent: Schema.optional<Schema.Boolean>;
114
108
  }>;
115
109
  export type WorkbooksListBySubscriptionInput = typeof WorkbooksListBySubscriptionInput.Type;
116
110
  export declare const WorkbooksListBySubscriptionOutput: Schema.Struct<{
117
111
  readonly value: Schema.optional<Schema.$Array<Schema.Struct<{
118
- readonly identity: Schema.optional<Schema.Struct<{
119
- readonly principalId: Schema.optional<Schema.String>;
120
- readonly tenantId: Schema.optional<Schema.String>;
121
- readonly type: Schema.Literals<readonly ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]>;
122
- readonly userAssignedIdentities: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
123
- readonly principalId: Schema.optional<Schema.String>;
124
- readonly clientId: Schema.optional<Schema.String>;
125
- }>>>;
126
- }>>;
127
- readonly kind: Schema.optional<Schema.Literals<readonly ["shared"]>>;
128
- readonly etag: Schema.optional<Schema.String>;
112
+ readonly tags: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
113
+ readonly location: Schema.String;
129
114
  }>>>;
130
115
  readonly nextLink: Schema.optional<Schema.String>;
131
116
  }>;
@@ -133,57 +118,47 @@ export type WorkbooksListBySubscriptionOutput = typeof WorkbooksListBySubscripti
133
118
  /**
134
119
  * Get all Workbooks defined within a specified subscription and category.
135
120
  *
136
- * @param subscriptionId - The ID of the target subscription.
137
121
  * @param api-version - The API version to use for this operation.
122
+ * @param subscriptionId - The ID of the target subscription.
123
+ * @param category - Category of workbook to return.
124
+ * @param tags - Tags presents on each workbook returned.
125
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
138
126
  */
139
127
  export declare const WorkbooksListBySubscription: any;
140
128
  export declare const WorkbooksRevisionGetInput: Schema.Struct<{
141
129
  readonly subscriptionId: Schema.String;
142
130
  readonly resourceGroupName: Schema.String;
131
+ readonly resourceName: Schema.String;
132
+ readonly revisionId: Schema.String;
143
133
  readonly "api-version": Schema.String;
144
134
  }>;
145
135
  export type WorkbooksRevisionGetInput = typeof WorkbooksRevisionGetInput.Type;
146
136
  export declare const WorkbooksRevisionGetOutput: Schema.Struct<{
147
- readonly identity: Schema.optional<Schema.Struct<{
148
- readonly principalId: Schema.optional<Schema.String>;
149
- readonly tenantId: Schema.optional<Schema.String>;
150
- readonly type: Schema.Literals<readonly ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]>;
151
- readonly userAssignedIdentities: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
152
- readonly principalId: Schema.optional<Schema.String>;
153
- readonly clientId: Schema.optional<Schema.String>;
154
- }>>>;
155
- }>>;
156
- readonly kind: Schema.optional<Schema.Literals<readonly ["shared"]>>;
157
- readonly etag: Schema.optional<Schema.String>;
137
+ readonly tags: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
138
+ readonly location: Schema.String;
158
139
  }>;
159
140
  export type WorkbooksRevisionGetOutput = typeof WorkbooksRevisionGetOutput.Type;
160
141
  /**
161
142
  * Get a single workbook revision defined by its revisionId.
162
143
  *
144
+ * @param api-version - The API version to use for this operation.
163
145
  * @param subscriptionId - The ID of the target subscription.
164
146
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
165
- * @param api-version - The API version to use for this operation.
147
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
148
+ * @param revisionId - The id of the workbook's revision.
166
149
  */
167
150
  export declare const WorkbooksRevisionGet: any;
168
151
  export declare const WorkbooksRevisionsListInput: Schema.Struct<{
169
152
  readonly subscriptionId: Schema.String;
170
153
  readonly resourceGroupName: Schema.String;
154
+ readonly resourceName: Schema.String;
171
155
  readonly "api-version": Schema.String;
172
156
  }>;
173
157
  export type WorkbooksRevisionsListInput = typeof WorkbooksRevisionsListInput.Type;
174
158
  export declare const WorkbooksRevisionsListOutput: Schema.Struct<{
175
159
  readonly value: Schema.optional<Schema.$Array<Schema.Struct<{
176
- readonly identity: Schema.optional<Schema.Struct<{
177
- readonly principalId: Schema.optional<Schema.String>;
178
- readonly tenantId: Schema.optional<Schema.String>;
179
- readonly type: Schema.Literals<readonly ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]>;
180
- readonly userAssignedIdentities: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
181
- readonly principalId: Schema.optional<Schema.String>;
182
- readonly clientId: Schema.optional<Schema.String>;
183
- }>>>;
184
- }>>;
185
- readonly kind: Schema.optional<Schema.Literals<readonly ["shared"]>>;
186
- readonly etag: Schema.optional<Schema.String>;
160
+ readonly tags: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
161
+ readonly location: Schema.String;
187
162
  }>>>;
188
163
  readonly nextLink: Schema.optional<Schema.String>;
189
164
  }>;
@@ -191,37 +166,33 @@ export type WorkbooksRevisionsListOutput = typeof WorkbooksRevisionsListOutput.T
191
166
  /**
192
167
  * Get the revisions for the workbook defined by its resourceName.
193
168
  *
169
+ * @param api-version - The API version to use for this operation.
194
170
  * @param subscriptionId - The ID of the target subscription.
195
171
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
196
- * @param api-version - The API version to use for this operation.
172
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
197
173
  */
198
174
  export declare const WorkbooksRevisionsList: any;
199
175
  export declare const WorkbooksUpdateInput: Schema.Struct<{
200
176
  readonly subscriptionId: Schema.String;
201
177
  readonly resourceGroupName: Schema.String;
178
+ readonly resourceName: Schema.String;
202
179
  readonly "api-version": Schema.String;
180
+ readonly sourceId: Schema.optional<Schema.String>;
203
181
  }>;
204
182
  export type WorkbooksUpdateInput = typeof WorkbooksUpdateInput.Type;
205
183
  export declare const WorkbooksUpdateOutput: Schema.Struct<{
206
- readonly identity: Schema.optional<Schema.Struct<{
207
- readonly principalId: Schema.optional<Schema.String>;
208
- readonly tenantId: Schema.optional<Schema.String>;
209
- readonly type: Schema.Literals<readonly ["None", "SystemAssigned", "UserAssigned", "SystemAssigned,UserAssigned"]>;
210
- readonly userAssignedIdentities: Schema.optional<Schema.$Record<Schema.String, Schema.Struct<{
211
- readonly principalId: Schema.optional<Schema.String>;
212
- readonly clientId: Schema.optional<Schema.String>;
213
- }>>>;
214
- }>>;
215
- readonly kind: Schema.optional<Schema.Literals<readonly ["shared"]>>;
216
- readonly etag: Schema.optional<Schema.String>;
184
+ readonly tags: Schema.optional<Schema.$Record<Schema.String, Schema.String>>;
185
+ readonly location: Schema.String;
217
186
  }>;
218
187
  export type WorkbooksUpdateOutput = typeof WorkbooksUpdateOutput.Type;
219
188
  /**
220
189
  * Updates a workbook that has already been added.
221
190
  *
191
+ * @param api-version - The API version to use for this operation.
222
192
  * @param subscriptionId - The ID of the target subscription.
223
193
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
224
- * @param api-version - The API version to use for this operation.
194
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
195
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
225
196
  */
226
197
  export declare const WorkbooksUpdate: any;
227
198
  //# sourceMappingURL=applicationinsights.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"applicationinsights.d.ts","sourceRoot":"","sources":["../../src/services/applicationinsights.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAKxC,eAAO,MAAM,4BAA4B;;;;EAUtC,CAAC;AACJ,MAAM,MAAM,4BAA4B,GACtC,OAAO,4BAA4B,CAAC,IAAI,CAAC;AAG3C,eAAO,MAAM,6BAA6B;;;;;;;;;;;;EAyBtC,CAAC;AACL,MAAM,MAAM,6BAA6B,GACvC,OAAO,6BAA6B,CAAC,IAAI,CAAC;AAG5C;;;;;;GAMG;AACH,eAAO,MAAM,uBAAuB,KAKnC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;EAShC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB,aAA0C,CAAC;AAC7E,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;GAMG;AACH,eAAO,MAAM,eAAe,KAGzB,CAAC;AAEJ,eAAO,MAAM,iBAAiB;;;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O,4BAA4B,CAAC,IAAI,CAAC;AAG3C;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,KAKlC,CAAC;AAEF,eAAO,MAAM,oBAAoB;;;;;;EAWhC,CAAC;AACF,MAAM,MAAM,oBAAoB,GAAG,OAAO,oBAAoB,CAAC,IAAI,CAAC;AAGpE,eAAO,MAAM,qBAAqB;;;EAGhC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,OAAO,qBAAqB,CAAC,IAAI,CAAC;AAGtE;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,KAGzB,CAAC"}
@@ -12,7 +12,9 @@ export const WorkbooksCreateOrUpdateInput =
12
12
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13
13
  subscriptionId: Schema.String.pipe(T.PathParam()),
14
14
  resourceGroupName: Schema.String.pipe(T.PathParam()),
15
+ resourceName: Schema.String.pipe(T.PathParam()),
15
16
  "api-version": Schema.String,
17
+ sourceId: Schema.optional(Schema.String),
16
18
  }).pipe(T.Http({
17
19
  method: "PUT",
18
20
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
@@ -20,30 +22,18 @@ export const WorkbooksCreateOrUpdateInput =
20
22
  // Output Schema
21
23
  export const WorkbooksCreateOrUpdateOutput =
22
24
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
23
- identity: Schema.optional(Schema.Struct({
24
- principalId: Schema.optional(Schema.String),
25
- tenantId: Schema.optional(Schema.String),
26
- type: Schema.Literals([
27
- "None",
28
- "SystemAssigned",
29
- "UserAssigned",
30
- "SystemAssigned,UserAssigned",
31
- ]),
32
- userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
33
- principalId: Schema.optional(Schema.String),
34
- clientId: Schema.optional(Schema.String),
35
- }))),
36
- })),
37
- kind: Schema.optional(Schema.Literals(["shared"])),
38
- etag: Schema.optional(Schema.String),
25
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
26
+ location: Schema.String,
39
27
  });
40
28
  // The operation
41
29
  /**
42
30
  * Create a new workbook.
43
31
  *
32
+ * @param api-version - The API version to use for this operation.
44
33
  * @param subscriptionId - The ID of the target subscription.
45
34
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
46
- * @param api-version - The API version to use for this operation.
35
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
36
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
47
37
  */
48
38
  export const WorkbooksCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
49
39
  inputSchema: WorkbooksCreateOrUpdateInput,
@@ -53,6 +43,7 @@ export const WorkbooksCreateOrUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() =
53
43
  export const WorkbooksDeleteInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
54
44
  subscriptionId: Schema.String.pipe(T.PathParam()),
55
45
  resourceGroupName: Schema.String.pipe(T.PathParam()),
46
+ resourceName: Schema.String.pipe(T.PathParam()),
56
47
  "api-version": Schema.String,
57
48
  }).pipe(T.Http({
58
49
  method: "DELETE",
@@ -64,9 +55,10 @@ export const WorkbooksDeleteOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Void;
64
55
  /**
65
56
  * Delete a workbook.
66
57
  *
58
+ * @param api-version - The API version to use for this operation.
67
59
  * @param subscriptionId - The ID of the target subscription.
68
60
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
69
- * @param api-version - The API version to use for this operation.
61
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
70
62
  */
71
63
  export const WorkbooksDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
72
64
  inputSchema: WorkbooksDeleteInput,
@@ -76,37 +68,27 @@ export const WorkbooksDelete = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
76
68
  export const WorkbooksGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
77
69
  subscriptionId: Schema.String.pipe(T.PathParam()),
78
70
  resourceGroupName: Schema.String.pipe(T.PathParam()),
71
+ resourceName: Schema.String.pipe(T.PathParam()),
79
72
  "api-version": Schema.String,
73
+ canFetchContent: Schema.optional(Schema.Boolean),
80
74
  }).pipe(T.Http({
81
75
  method: "GET",
82
76
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
83
77
  }));
84
78
  // Output Schema
85
79
  export const WorkbooksGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
86
- identity: Schema.optional(Schema.Struct({
87
- principalId: Schema.optional(Schema.String),
88
- tenantId: Schema.optional(Schema.String),
89
- type: Schema.Literals([
90
- "None",
91
- "SystemAssigned",
92
- "UserAssigned",
93
- "SystemAssigned,UserAssigned",
94
- ]),
95
- userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
96
- principalId: Schema.optional(Schema.String),
97
- clientId: Schema.optional(Schema.String),
98
- }))),
99
- })),
100
- kind: Schema.optional(Schema.Literals(["shared"])),
101
- etag: Schema.optional(Schema.String),
80
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
81
+ location: Schema.String,
102
82
  });
103
83
  // The operation
104
84
  /**
105
85
  * Get a single workbook by its resourceName.
106
86
  *
87
+ * @param api-version - The API version to use for this operation.
107
88
  * @param subscriptionId - The ID of the target subscription.
108
89
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
109
- * @param api-version - The API version to use for this operation.
90
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
91
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
110
92
  */
111
93
  export const WorkbooksGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
112
94
  inputSchema: WorkbooksGetInput,
@@ -118,6 +100,10 @@ export const WorkbooksListByResourceGroupInput =
118
100
  subscriptionId: Schema.String.pipe(T.PathParam()),
119
101
  resourceGroupName: Schema.String.pipe(T.PathParam()),
120
102
  "api-version": Schema.String,
103
+ category: Schema.Literals(["workbook", "TSG", "performance", "retention"]),
104
+ tags: Schema.optional(Schema.String),
105
+ sourceId: Schema.optional(Schema.String),
106
+ canFetchContent: Schema.optional(Schema.Boolean),
121
107
  }).pipe(T.Http({
122
108
  method: "GET",
123
109
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks",
@@ -126,22 +112,8 @@ export const WorkbooksListByResourceGroupInput =
126
112
  export const WorkbooksListByResourceGroupOutput =
127
113
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
128
114
  value: Schema.optional(Schema.Array(Schema.Struct({
129
- identity: Schema.optional(Schema.Struct({
130
- principalId: Schema.optional(Schema.String),
131
- tenantId: Schema.optional(Schema.String),
132
- type: Schema.Literals([
133
- "None",
134
- "SystemAssigned",
135
- "UserAssigned",
136
- "SystemAssigned,UserAssigned",
137
- ]),
138
- userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
139
- principalId: Schema.optional(Schema.String),
140
- clientId: Schema.optional(Schema.String),
141
- }))),
142
- })),
143
- kind: Schema.optional(Schema.Literals(["shared"])),
144
- etag: Schema.optional(Schema.String),
115
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
116
+ location: Schema.String,
145
117
  }))),
146
118
  nextLink: Schema.optional(Schema.String),
147
119
  });
@@ -149,9 +121,13 @@ export const WorkbooksListByResourceGroupOutput =
149
121
  /**
150
122
  * Get all Workbooks defined within a specified resource group and category.
151
123
  *
124
+ * @param api-version - The API version to use for this operation.
152
125
  * @param subscriptionId - The ID of the target subscription.
153
126
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
154
- * @param api-version - The API version to use for this operation.
127
+ * @param category - Category of workbook to return.
128
+ * @param tags - Tags presents on each workbook returned.
129
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
130
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
155
131
  */
156
132
  export const WorkbooksListByResourceGroup =
157
133
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -163,6 +139,9 @@ export const WorkbooksListBySubscriptionInput =
163
139
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
164
140
  subscriptionId: Schema.String.pipe(T.PathParam()),
165
141
  "api-version": Schema.String,
142
+ category: Schema.Literals(["workbook", "TSG", "performance", "retention"]),
143
+ tags: Schema.optional(Schema.String),
144
+ canFetchContent: Schema.optional(Schema.Boolean),
166
145
  }).pipe(T.Http({
167
146
  method: "GET",
168
147
  path: "/subscriptions/{subscriptionId}/providers/Microsoft.Insights/workbooks",
@@ -171,22 +150,8 @@ export const WorkbooksListBySubscriptionInput =
171
150
  export const WorkbooksListBySubscriptionOutput =
172
151
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
173
152
  value: Schema.optional(Schema.Array(Schema.Struct({
174
- identity: Schema.optional(Schema.Struct({
175
- principalId: Schema.optional(Schema.String),
176
- tenantId: Schema.optional(Schema.String),
177
- type: Schema.Literals([
178
- "None",
179
- "SystemAssigned",
180
- "UserAssigned",
181
- "SystemAssigned,UserAssigned",
182
- ]),
183
- userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
184
- principalId: Schema.optional(Schema.String),
185
- clientId: Schema.optional(Schema.String),
186
- }))),
187
- })),
188
- kind: Schema.optional(Schema.Literals(["shared"])),
189
- etag: Schema.optional(Schema.String),
153
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
154
+ location: Schema.String,
190
155
  }))),
191
156
  nextLink: Schema.optional(Schema.String),
192
157
  });
@@ -194,8 +159,11 @@ export const WorkbooksListBySubscriptionOutput =
194
159
  /**
195
160
  * Get all Workbooks defined within a specified subscription and category.
196
161
  *
197
- * @param subscriptionId - The ID of the target subscription.
198
162
  * @param api-version - The API version to use for this operation.
163
+ * @param subscriptionId - The ID of the target subscription.
164
+ * @param category - Category of workbook to return.
165
+ * @param tags - Tags presents on each workbook returned.
166
+ * @param canFetchContent - Flag indicating whether or not to return the full content for each applicable workbook. If false, only return summary content for workbooks.
199
167
  */
200
168
  export const WorkbooksListBySubscription = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
201
169
  inputSchema: WorkbooksListBySubscriptionInput,
@@ -206,6 +174,8 @@ export const WorkbooksRevisionGetInput =
206
174
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
207
175
  subscriptionId: Schema.String.pipe(T.PathParam()),
208
176
  resourceGroupName: Schema.String.pipe(T.PathParam()),
177
+ resourceName: Schema.String.pipe(T.PathParam()),
178
+ revisionId: Schema.String.pipe(T.PathParam()),
209
179
  "api-version": Schema.String,
210
180
  }).pipe(T.Http({
211
181
  method: "GET",
@@ -214,30 +184,18 @@ export const WorkbooksRevisionGetInput =
214
184
  // Output Schema
215
185
  export const WorkbooksRevisionGetOutput =
216
186
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
217
- identity: Schema.optional(Schema.Struct({
218
- principalId: Schema.optional(Schema.String),
219
- tenantId: Schema.optional(Schema.String),
220
- type: Schema.Literals([
221
- "None",
222
- "SystemAssigned",
223
- "UserAssigned",
224
- "SystemAssigned,UserAssigned",
225
- ]),
226
- userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
227
- principalId: Schema.optional(Schema.String),
228
- clientId: Schema.optional(Schema.String),
229
- }))),
230
- })),
231
- kind: Schema.optional(Schema.Literals(["shared"])),
232
- etag: Schema.optional(Schema.String),
187
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
188
+ location: Schema.String,
233
189
  });
234
190
  // The operation
235
191
  /**
236
192
  * Get a single workbook revision defined by its revisionId.
237
193
  *
194
+ * @param api-version - The API version to use for this operation.
238
195
  * @param subscriptionId - The ID of the target subscription.
239
196
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
240
- * @param api-version - The API version to use for this operation.
197
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
198
+ * @param revisionId - The id of the workbook's revision.
241
199
  */
242
200
  export const WorkbooksRevisionGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
243
201
  inputSchema: WorkbooksRevisionGetInput,
@@ -248,6 +206,7 @@ export const WorkbooksRevisionsListInput =
248
206
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
249
207
  subscriptionId: Schema.String.pipe(T.PathParam()),
250
208
  resourceGroupName: Schema.String.pipe(T.PathParam()),
209
+ resourceName: Schema.String.pipe(T.PathParam()),
251
210
  "api-version": Schema.String,
252
211
  }).pipe(T.Http({
253
212
  method: "GET",
@@ -257,22 +216,8 @@ export const WorkbooksRevisionsListInput =
257
216
  export const WorkbooksRevisionsListOutput =
258
217
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
259
218
  value: Schema.optional(Schema.Array(Schema.Struct({
260
- identity: Schema.optional(Schema.Struct({
261
- principalId: Schema.optional(Schema.String),
262
- tenantId: Schema.optional(Schema.String),
263
- type: Schema.Literals([
264
- "None",
265
- "SystemAssigned",
266
- "UserAssigned",
267
- "SystemAssigned,UserAssigned",
268
- ]),
269
- userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
270
- principalId: Schema.optional(Schema.String),
271
- clientId: Schema.optional(Schema.String),
272
- }))),
273
- })),
274
- kind: Schema.optional(Schema.Literals(["shared"])),
275
- etag: Schema.optional(Schema.String),
219
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
220
+ location: Schema.String,
276
221
  }))),
277
222
  nextLink: Schema.optional(Schema.String),
278
223
  });
@@ -280,9 +225,10 @@ export const WorkbooksRevisionsListOutput =
280
225
  /**
281
226
  * Get the revisions for the workbook defined by its resourceName.
282
227
  *
228
+ * @param api-version - The API version to use for this operation.
283
229
  * @param subscriptionId - The ID of the target subscription.
284
230
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
285
- * @param api-version - The API version to use for this operation.
231
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
286
232
  */
287
233
  export const WorkbooksRevisionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
288
234
  inputSchema: WorkbooksRevisionsListInput,
@@ -292,37 +238,27 @@ export const WorkbooksRevisionsList = /*@__PURE__*/ /*#__PURE__*/ API.make(() =>
292
238
  export const WorkbooksUpdateInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
293
239
  subscriptionId: Schema.String.pipe(T.PathParam()),
294
240
  resourceGroupName: Schema.String.pipe(T.PathParam()),
241
+ resourceName: Schema.String.pipe(T.PathParam()),
295
242
  "api-version": Schema.String,
243
+ sourceId: Schema.optional(Schema.String),
296
244
  }).pipe(T.Http({
297
245
  method: "PATCH",
298
246
  path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Insights/workbooks/{resourceName}",
299
247
  }));
300
248
  // Output Schema
301
249
  export const WorkbooksUpdateOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
302
- identity: Schema.optional(Schema.Struct({
303
- principalId: Schema.optional(Schema.String),
304
- tenantId: Schema.optional(Schema.String),
305
- type: Schema.Literals([
306
- "None",
307
- "SystemAssigned",
308
- "UserAssigned",
309
- "SystemAssigned,UserAssigned",
310
- ]),
311
- userAssignedIdentities: Schema.optional(Schema.Record(Schema.String, Schema.Struct({
312
- principalId: Schema.optional(Schema.String),
313
- clientId: Schema.optional(Schema.String),
314
- }))),
315
- })),
316
- kind: Schema.optional(Schema.Literals(["shared"])),
317
- etag: Schema.optional(Schema.String),
250
+ tags: Schema.optional(Schema.Record(Schema.String, Schema.String)),
251
+ location: Schema.String,
318
252
  });
319
253
  // The operation
320
254
  /**
321
255
  * Updates a workbook that has already been added.
322
256
  *
257
+ * @param api-version - The API version to use for this operation.
323
258
  * @param subscriptionId - The ID of the target subscription.
324
259
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
325
- * @param api-version - The API version to use for this operation.
260
+ * @param resourceName - The name of the workbook resource. The value must be an UUID.
261
+ * @param sourceId - Azure Resource Id that will fetch all linked workbooks.
326
262
  */
327
263
  export const WorkbooksUpdate = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
328
264
  inputSchema: WorkbooksUpdateInput,