@distilled.cloud/azure 0.8.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 (151) hide show
  1. package/lib/credentials.d.ts +2 -2
  2. package/lib/credentials.d.ts.map +1 -1
  3. package/lib/credentials.js +2 -2
  4. package/lib/credentials.js.map +1 -1
  5. package/lib/errors.d.ts +24 -24
  6. package/lib/retry.d.ts +2 -2
  7. package/lib/retry.d.ts.map +1 -1
  8. package/lib/retry.js +2 -2
  9. package/lib/retry.js.map +1 -1
  10. package/lib/services/app.d.ts +551 -0
  11. package/lib/services/app.d.ts.map +1 -1
  12. package/lib/services/app.js +788 -0
  13. package/lib/services/app.js.map +1 -1
  14. package/lib/services/applicationinsights.d.ts +56 -85
  15. package/lib/services/applicationinsights.d.ts.map +1 -1
  16. package/lib/services/applicationinsights.js +56 -120
  17. package/lib/services/applicationinsights.js.map +1 -1
  18. package/lib/services/authorization.d.ts +61 -243
  19. package/lib/services/authorization.d.ts.map +1 -1
  20. package/lib/services/authorization.js +61 -303
  21. package/lib/services/authorization.js.map +1 -1
  22. package/lib/services/automation.d.ts +764 -1010
  23. package/lib/services/automation.d.ts.map +1 -1
  24. package/lib/services/automation.js +764 -1070
  25. package/lib/services/automation.js.map +1 -1
  26. package/lib/services/azure-kusto.d.ts +440 -166
  27. package/lib/services/azure-kusto.d.ts.map +1 -1
  28. package/lib/services/azure-kusto.js +440 -166
  29. package/lib/services/azure-kusto.js.map +1 -1
  30. package/lib/services/batch.d.ts +1 -1
  31. package/lib/services/batch.js +1 -1
  32. package/lib/services/batch.js.map +1 -1
  33. package/lib/services/cognitiveservices.d.ts +2 -0
  34. package/lib/services/cognitiveservices.d.ts.map +1 -1
  35. package/lib/services/cognitiveservices.js +3 -1
  36. package/lib/services/cognitiveservices.js.map +1 -1
  37. package/lib/services/computelimit.d.ts +188 -0
  38. package/lib/services/computelimit.d.ts.map +1 -1
  39. package/lib/services/computelimit.js +236 -0
  40. package/lib/services/computelimit.js.map +1 -1
  41. package/lib/services/containerinstance.d.ts +210 -1291
  42. package/lib/services/containerinstance.d.ts.map +1 -1
  43. package/lib/services/containerinstance.js +250 -1355
  44. package/lib/services/containerinstance.js.map +1 -1
  45. package/lib/services/databricks.d.ts +111 -187
  46. package/lib/services/databricks.d.ts.map +1 -1
  47. package/lib/services/databricks.js +111 -220
  48. package/lib/services/databricks.js.map +1 -1
  49. package/lib/services/desktopvirtualization.d.ts +51 -575
  50. package/lib/services/desktopvirtualization.d.ts.map +1 -1
  51. package/lib/services/desktopvirtualization.js +56 -590
  52. package/lib/services/desktopvirtualization.js.map +1 -1
  53. package/lib/services/imagebuilder.d.ts +129 -15
  54. package/lib/services/imagebuilder.d.ts.map +1 -1
  55. package/lib/services/imagebuilder.js +129 -15
  56. package/lib/services/imagebuilder.js.map +1 -1
  57. package/lib/services/index.d.ts +2 -0
  58. package/lib/services/index.d.ts.map +1 -1
  59. package/lib/services/index.js +2 -0
  60. package/lib/services/index.js.map +1 -1
  61. package/lib/services/managednetworkfabric.d.ts +4283 -693
  62. package/lib/services/managednetworkfabric.d.ts.map +1 -1
  63. package/lib/services/managednetworkfabric.js +4833 -828
  64. package/lib/services/managednetworkfabric.js.map +1 -1
  65. package/lib/services/monitor.d.ts +81 -73
  66. package/lib/services/monitor.d.ts.map +1 -1
  67. package/lib/services/monitor.js +91 -88
  68. package/lib/services/monitor.js.map +1 -1
  69. package/lib/services/monitoringservice.d.ts +149 -0
  70. package/lib/services/monitoringservice.d.ts.map +1 -0
  71. package/lib/services/monitoringservice.js +216 -0
  72. package/lib/services/monitoringservice.js.map +1 -0
  73. package/lib/services/network.d.ts +4513 -3857
  74. package/lib/services/network.d.ts.map +1 -1
  75. package/lib/services/network.js +4544 -4056
  76. package/lib/services/network.js.map +1 -1
  77. package/lib/services/orbitalplanetarycomputer.d.ts +131 -0
  78. package/lib/services/orbitalplanetarycomputer.d.ts.map +1 -0
  79. package/lib/services/orbitalplanetarycomputer.js +183 -0
  80. package/lib/services/orbitalplanetarycomputer.js.map +1 -0
  81. package/lib/services/recoveryservicesbackup.d.ts +24 -312
  82. package/lib/services/recoveryservicesbackup.d.ts.map +1 -1
  83. package/lib/services/recoveryservicesbackup.js +24 -312
  84. package/lib/services/recoveryservicesbackup.js.map +1 -1
  85. package/lib/services/redhatopenshift.d.ts +9 -11
  86. package/lib/services/redhatopenshift.d.ts.map +1 -1
  87. package/lib/services/redhatopenshift.js +9 -11
  88. package/lib/services/redhatopenshift.js.map +1 -1
  89. package/lib/services/reservations.d.ts +159 -239
  90. package/lib/services/reservations.d.ts.map +1 -1
  91. package/lib/services/reservations.js +159 -369
  92. package/lib/services/reservations.js.map +1 -1
  93. package/lib/services/resourcegraph.d.ts +64 -30
  94. package/lib/services/resourcegraph.d.ts.map +1 -1
  95. package/lib/services/resourcegraph.js +74 -30
  96. package/lib/services/resourcegraph.js.map +1 -1
  97. package/lib/services/resources.d.ts +549 -3331
  98. package/lib/services/resources.d.ts.map +1 -1
  99. package/lib/services/resources.js +1029 -4846
  100. package/lib/services/resources.js.map +1 -1
  101. package/lib/services/search.d.ts +9 -2
  102. package/lib/services/search.d.ts.map +1 -1
  103. package/lib/services/search.js +9 -2
  104. package/lib/services/search.js.map +1 -1
  105. package/lib/services/sql.d.ts +4008 -2495
  106. package/lib/services/sql.d.ts.map +1 -1
  107. package/lib/services/sql.js +4208 -2521
  108. package/lib/services/sql.js.map +1 -1
  109. package/lib/services/storage.d.ts +4 -20
  110. package/lib/services/storage.d.ts.map +1 -1
  111. package/lib/services/storage.js +4 -20
  112. package/lib/services/storage.js.map +1 -1
  113. package/lib/services/storageactions.d.ts +18 -0
  114. package/lib/services/storageactions.d.ts.map +1 -1
  115. package/lib/services/storageactions.js +28 -0
  116. package/lib/services/storageactions.js.map +1 -1
  117. package/lib/services/storagecache.d.ts +288 -752
  118. package/lib/services/storagecache.d.ts.map +1 -1
  119. package/lib/services/storagecache.js +312 -930
  120. package/lib/services/storagecache.js.map +1 -1
  121. package/package.json +4 -4
  122. package/src/credentials.ts +2 -2
  123. package/src/retry.ts +2 -2
  124. package/src/services/app.ts +1014 -0
  125. package/src/services/applicationinsights.ts +56 -169
  126. package/src/services/authorization.ts +65 -397
  127. package/src/services/automation.ts +1179 -1686
  128. package/src/services/azure-kusto.ts +494 -228
  129. package/src/services/batch.ts +1 -1
  130. package/src/services/cognitiveservices.ts +3 -1
  131. package/src/services/computelimit.ts +310 -0
  132. package/src/services/containerinstance.ts +1393 -3134
  133. package/src/services/databricks.ts +125 -294
  134. package/src/services/desktopvirtualization.ts +83 -859
  135. package/src/services/imagebuilder.ts +129 -21
  136. package/src/services/index.ts +2 -0
  137. package/src/services/managednetworkfabric.ts +7141 -1408
  138. package/src/services/monitor.ts +134 -136
  139. package/src/services/monitoringservice.ts +287 -0
  140. package/src/services/network.ts +5738 -6158
  141. package/src/services/orbitalplanetarycomputer.ts +233 -0
  142. package/src/services/recoveryservicesbackup.ts +26 -456
  143. package/src/services/redhatopenshift.ts +26 -34
  144. package/src/services/reservations.ts +209 -553
  145. package/src/services/resourcegraph.ts +123 -55
  146. package/src/services/resources.ts +1852 -8168
  147. package/src/services/search.ts +9 -2
  148. package/src/services/sql.ts +4552 -2757
  149. package/src/services/storage.ts +4 -22
  150. package/src/services/storageactions.ts +36 -0
  151. package/src/services/storagecache.ts +312 -1303
@@ -1051,7 +1051,7 @@ export type NetworkSecurityPerimeterListConfigurationsInput =
1051
1051
  // Output Schema
1052
1052
  export const NetworkSecurityPerimeterListConfigurationsOutput =
1053
1053
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
1054
- value: Schema.optional(Schema.Array(Schema.Struct({}))),
1054
+ value: Schema.Array(Schema.Struct({})),
1055
1055
  nextLink: Schema.optional(Schema.String),
1056
1056
  });
1057
1057
  export type NetworkSecurityPerimeterListConfigurationsOutput =
@@ -3269,11 +3269,12 @@ export const ManagedNetworkProvisionsProvisionManagedNetworkInput =
3269
3269
  subscriptionId: Schema.String.pipe(T.PathParam()),
3270
3270
  resourceGroupName: Schema.String.pipe(T.PathParam()),
3271
3271
  accountName: Schema.String.pipe(T.PathParam()),
3272
+ managedNetworkName: Schema.String.pipe(T.PathParam()),
3272
3273
  "api-version": Schema.String,
3273
3274
  }).pipe(
3274
3275
  T.Http({
3275
3276
  method: "POST",
3276
- path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/provisionManagedNetwork",
3277
+ path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/managedNetworks/{managedNetworkName}/provision",
3277
3278
  }),
3278
3279
  );
3279
3280
  export type ManagedNetworkProvisionsProvisionManagedNetworkInput =
@@ -3295,6 +3296,7 @@ export type ManagedNetworkProvisionsProvisionManagedNetworkOutput =
3295
3296
  * @param subscriptionId - The ID of the target subscription.
3296
3297
  * @param resourceGroupName - The name of the resource group. The name is case insensitive.
3297
3298
  * @param accountName - The name of Cognitive Services account.
3299
+ * @param managedNetworkName - Name of the managedNetwork associated with the cognitive services account. Only 'default' is supported.
3298
3300
  */
3299
3301
  export const ManagedNetworkProvisionsProvisionManagedNetwork =
3300
3302
  /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
@@ -8,6 +8,244 @@ import * as Schema from "effect/Schema";
8
8
  import { API } from "../client.ts";
9
9
  import * as T from "../traits.ts";
10
10
 
11
+ // Input Schema
12
+ export const FeaturesDisableInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
13
+ subscriptionId: Schema.String.pipe(T.PathParam()),
14
+ location: Schema.String.pipe(T.PathParam()),
15
+ featureName: Schema.String.pipe(T.PathParam()),
16
+ "api-version": Schema.String,
17
+ }).pipe(
18
+ T.Http({
19
+ method: "POST",
20
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}/disable",
21
+ }),
22
+ );
23
+ export type FeaturesDisableInput = typeof FeaturesDisableInput.Type;
24
+
25
+ // Output Schema
26
+ export const FeaturesDisableOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
27
+ id: Schema.optional(Schema.String),
28
+ resourceId: Schema.optional(Schema.String),
29
+ name: Schema.optional(Schema.String),
30
+ status: Schema.String,
31
+ percentComplete: Schema.optional(Schema.Number),
32
+ startTime: Schema.optional(Schema.String),
33
+ endTime: Schema.optional(Schema.String),
34
+ operations: Schema.optional(
35
+ Schema.Array(
36
+ Schema.Struct({
37
+ id: Schema.optional(Schema.String),
38
+ resourceId: Schema.optional(Schema.String),
39
+ name: Schema.optional(Schema.String),
40
+ status: Schema.String,
41
+ percentComplete: Schema.optional(Schema.Number),
42
+ startTime: Schema.optional(Schema.String),
43
+ endTime: Schema.optional(Schema.String),
44
+ operations: Schema.optional(Schema.Array(Schema.Unknown)),
45
+ error: Schema.optional(
46
+ Schema.Struct({
47
+ code: Schema.optional(Schema.String),
48
+ message: Schema.optional(Schema.String),
49
+ target: Schema.optional(Schema.String),
50
+ details: Schema.optional(Schema.Array(Schema.Unknown)),
51
+ additionalInfo: Schema.optional(
52
+ Schema.Array(
53
+ Schema.Struct({
54
+ type: Schema.optional(Schema.String),
55
+ info: Schema.optional(Schema.Unknown),
56
+ }),
57
+ ),
58
+ ),
59
+ }),
60
+ ),
61
+ }),
62
+ ),
63
+ ),
64
+ error: Schema.optional(
65
+ Schema.Struct({
66
+ code: Schema.optional(Schema.String),
67
+ message: Schema.optional(Schema.String),
68
+ target: Schema.optional(Schema.String),
69
+ details: Schema.optional(Schema.Array(Schema.Unknown)),
70
+ additionalInfo: Schema.optional(
71
+ Schema.Array(
72
+ Schema.Struct({
73
+ type: Schema.optional(Schema.String),
74
+ info: Schema.optional(Schema.Unknown),
75
+ }),
76
+ ),
77
+ ),
78
+ }),
79
+ ),
80
+ });
81
+ export type FeaturesDisableOutput = typeof FeaturesDisableOutput.Type;
82
+
83
+ // The operation
84
+ /**
85
+ * Disables a compute limit feature for the subscription at the specified location.
86
+ *
87
+ * @param api-version - The API version to use for this operation.
88
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
89
+ * @param location - The name of the Azure region.
90
+ * @param featureName - The name of the Feature
91
+ */
92
+ export const FeaturesDisable = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
93
+ inputSchema: FeaturesDisableInput,
94
+ outputSchema: FeaturesDisableOutput,
95
+ }));
96
+ // Input Schema
97
+ export const FeaturesEnableInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
98
+ subscriptionId: Schema.String.pipe(T.PathParam()),
99
+ location: Schema.String.pipe(T.PathParam()),
100
+ featureName: Schema.String.pipe(T.PathParam()),
101
+ "api-version": Schema.String,
102
+ }).pipe(
103
+ T.Http({
104
+ method: "POST",
105
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}/enable",
106
+ }),
107
+ );
108
+ export type FeaturesEnableInput = typeof FeaturesEnableInput.Type;
109
+
110
+ // Output Schema
111
+ export const FeaturesEnableOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
112
+ id: Schema.optional(Schema.String),
113
+ resourceId: Schema.optional(Schema.String),
114
+ name: Schema.optional(Schema.String),
115
+ status: Schema.String,
116
+ percentComplete: Schema.optional(Schema.Number),
117
+ startTime: Schema.optional(Schema.String),
118
+ endTime: Schema.optional(Schema.String),
119
+ operations: Schema.optional(
120
+ Schema.Array(
121
+ Schema.Struct({
122
+ id: Schema.optional(Schema.String),
123
+ resourceId: Schema.optional(Schema.String),
124
+ name: Schema.optional(Schema.String),
125
+ status: Schema.String,
126
+ percentComplete: Schema.optional(Schema.Number),
127
+ startTime: Schema.optional(Schema.String),
128
+ endTime: Schema.optional(Schema.String),
129
+ operations: Schema.optional(Schema.Array(Schema.Unknown)),
130
+ error: Schema.optional(
131
+ Schema.Struct({
132
+ code: Schema.optional(Schema.String),
133
+ message: Schema.optional(Schema.String),
134
+ target: Schema.optional(Schema.String),
135
+ details: Schema.optional(Schema.Array(Schema.Unknown)),
136
+ additionalInfo: Schema.optional(
137
+ Schema.Array(
138
+ Schema.Struct({
139
+ type: Schema.optional(Schema.String),
140
+ info: Schema.optional(Schema.Unknown),
141
+ }),
142
+ ),
143
+ ),
144
+ }),
145
+ ),
146
+ }),
147
+ ),
148
+ ),
149
+ error: Schema.optional(
150
+ Schema.Struct({
151
+ code: Schema.optional(Schema.String),
152
+ message: Schema.optional(Schema.String),
153
+ target: Schema.optional(Schema.String),
154
+ details: Schema.optional(Schema.Array(Schema.Unknown)),
155
+ additionalInfo: Schema.optional(
156
+ Schema.Array(
157
+ Schema.Struct({
158
+ type: Schema.optional(Schema.String),
159
+ info: Schema.optional(Schema.Unknown),
160
+ }),
161
+ ),
162
+ ),
163
+ }),
164
+ ),
165
+ });
166
+ export type FeaturesEnableOutput = typeof FeaturesEnableOutput.Type;
167
+
168
+ // The operation
169
+ /**
170
+ * Enables a compute limit feature for the subscription at the specified location.
171
+ *
172
+ * @param api-version - The API version to use for this operation.
173
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
174
+ * @param location - The name of the Azure region.
175
+ * @param featureName - The name of the Feature
176
+ */
177
+ export const FeaturesEnable = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
178
+ inputSchema: FeaturesEnableInput,
179
+ outputSchema: FeaturesEnableOutput,
180
+ }));
181
+ // Input Schema
182
+ export const FeaturesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
183
+ subscriptionId: Schema.String.pipe(T.PathParam()),
184
+ location: Schema.String.pipe(T.PathParam()),
185
+ featureName: Schema.String.pipe(T.PathParam()),
186
+ "api-version": Schema.String,
187
+ }).pipe(
188
+ T.Http({
189
+ method: "GET",
190
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features/{featureName}",
191
+ }),
192
+ );
193
+ export type FeaturesGetInput = typeof FeaturesGetInput.Type;
194
+
195
+ // Output Schema
196
+ export const FeaturesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({});
197
+ export type FeaturesGetOutput = typeof FeaturesGetOutput.Type;
198
+
199
+ // The operation
200
+ /**
201
+ * Gets the properties of a compute limit feature.
202
+ *
203
+ * @param api-version - The API version to use for this operation.
204
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
205
+ * @param location - The name of the Azure region.
206
+ * @param featureName - The name of the Feature
207
+ */
208
+ export const FeaturesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
209
+ inputSchema: FeaturesGetInput,
210
+ outputSchema: FeaturesGetOutput,
211
+ }));
212
+ // Input Schema
213
+ export const FeaturesListBySubscriptionLocationResourceInput =
214
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
215
+ subscriptionId: Schema.String.pipe(T.PathParam()),
216
+ location: Schema.String.pipe(T.PathParam()),
217
+ "api-version": Schema.String,
218
+ }).pipe(
219
+ T.Http({
220
+ method: "GET",
221
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/features",
222
+ }),
223
+ );
224
+ export type FeaturesListBySubscriptionLocationResourceInput =
225
+ typeof FeaturesListBySubscriptionLocationResourceInput.Type;
226
+
227
+ // Output Schema
228
+ export const FeaturesListBySubscriptionLocationResourceOutput =
229
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
230
+ value: Schema.Array(Schema.Struct({})),
231
+ nextLink: Schema.optional(Schema.String),
232
+ });
233
+ export type FeaturesListBySubscriptionLocationResourceOutput =
234
+ typeof FeaturesListBySubscriptionLocationResourceOutput.Type;
235
+
236
+ // The operation
237
+ /**
238
+ * Lists all compute limit features for the subscription at the specified location.
239
+ *
240
+ * @param api-version - The API version to use for this operation.
241
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
242
+ * @param location - The name of the Azure region.
243
+ */
244
+ export const FeaturesListBySubscriptionLocationResource =
245
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
246
+ inputSchema: FeaturesListBySubscriptionLocationResourceInput,
247
+ outputSchema: FeaturesListBySubscriptionLocationResourceOutput,
248
+ }));
11
249
  // Input Schema
12
250
  export const GuestSubscriptionsCreateInput =
13
251
  /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
@@ -337,3 +575,75 @@ export const SharedLimitsListBySubscriptionLocationResource =
337
575
  inputSchema: SharedLimitsListBySubscriptionLocationResourceInput,
338
576
  outputSchema: SharedLimitsListBySubscriptionLocationResourceOutput,
339
577
  }));
578
+ // Input Schema
579
+ export const VmFamiliesGetInput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
580
+ subscriptionId: Schema.String.pipe(T.PathParam()),
581
+ location: Schema.String.pipe(T.PathParam()),
582
+ vmFamilyName: Schema.String.pipe(T.PathParam()),
583
+ "api-version": Schema.String,
584
+ }).pipe(
585
+ T.Http({
586
+ method: "GET",
587
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies/{vmFamilyName}",
588
+ }),
589
+ );
590
+ export type VmFamiliesGetInput = typeof VmFamiliesGetInput.Type;
591
+
592
+ // Output Schema
593
+ export const VmFamiliesGetOutput = /*@__PURE__*/ /*#__PURE__*/ Schema.Struct(
594
+ {},
595
+ );
596
+ export type VmFamiliesGetOutput = typeof VmFamiliesGetOutput.Type;
597
+
598
+ // The operation
599
+ /**
600
+ * Gets the properties of a VM family.
601
+ *
602
+ * @param api-version - The API version to use for this operation.
603
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
604
+ * @param location - The name of the Azure region.
605
+ * @param vmFamilyName - The name of the VmFamily
606
+ */
607
+ export const VmFamiliesGet = /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
608
+ inputSchema: VmFamiliesGetInput,
609
+ outputSchema: VmFamiliesGetOutput,
610
+ }));
611
+ // Input Schema
612
+ export const VmFamiliesListBySubscriptionLocationResourceInput =
613
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
614
+ subscriptionId: Schema.String.pipe(T.PathParam()),
615
+ location: Schema.String.pipe(T.PathParam()),
616
+ "api-version": Schema.String,
617
+ $filter: Schema.optional(Schema.String),
618
+ }).pipe(
619
+ T.Http({
620
+ method: "GET",
621
+ path: "/subscriptions/{subscriptionId}/providers/Microsoft.ComputeLimit/locations/{location}/vmFamilies",
622
+ }),
623
+ );
624
+ export type VmFamiliesListBySubscriptionLocationResourceInput =
625
+ typeof VmFamiliesListBySubscriptionLocationResourceInput.Type;
626
+
627
+ // Output Schema
628
+ export const VmFamiliesListBySubscriptionLocationResourceOutput =
629
+ /*@__PURE__*/ /*#__PURE__*/ Schema.Struct({
630
+ value: Schema.Array(Schema.Struct({})),
631
+ nextLink: Schema.optional(Schema.String),
632
+ });
633
+ export type VmFamiliesListBySubscriptionLocationResourceOutput =
634
+ typeof VmFamiliesListBySubscriptionLocationResourceOutput.Type;
635
+
636
+ // The operation
637
+ /**
638
+ * Lists all VM families for the subscription at the specified location.
639
+ *
640
+ * @param api-version - The API version to use for this operation.
641
+ * @param subscriptionId - The ID of the target subscription. The value must be an UUID.
642
+ * @param location - The name of the Azure region.
643
+ * @param $filter - The filter to apply to the list operation. Filter can be applied to the 'category' property. Example: $filter=category eq 'generalPurposeCategory'.
644
+ */
645
+ export const VmFamiliesListBySubscriptionLocationResource =
646
+ /*@__PURE__*/ /*#__PURE__*/ API.make(() => ({
647
+ inputSchema: VmFamiliesListBySubscriptionLocationResourceInput,
648
+ outputSchema: VmFamiliesListBySubscriptionLocationResourceOutput,
649
+ }));