@azure/arm-baremetalinfrastructure 1.0.0-beta.1 → 1.0.0-beta.2

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 (113) hide show
  1. package/CHANGELOG.md +71 -0
  2. package/README.md +2 -2
  3. package/dist/index.js +1234 -194
  4. package/dist/index.js.map +1 -1
  5. package/dist/index.min.js +1 -1
  6. package/dist/index.min.js.map +1 -1
  7. package/dist-esm/samples-dev/azureBareMetalInstancesGetSample.js +3 -3
  8. package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.js +6 -11
  9. package/dist-esm/samples-dev/azureBareMetalInstancesListByResourceGroupSample.js.map +1 -1
  10. package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.js +6 -11
  11. package/dist-esm/samples-dev/azureBareMetalInstancesListBySubscriptionSample.js.map +1 -1
  12. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.d.ts +2 -0
  13. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.d.ts.map +1 -0
  14. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.js +39 -0
  15. package/dist-esm/samples-dev/azureBareMetalInstancesRestartSample.js.map +1 -0
  16. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.d.ts +2 -0
  17. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.d.ts.map +1 -0
  18. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.js +39 -0
  19. package/dist-esm/samples-dev/azureBareMetalInstancesShutdownSample.js.map +1 -0
  20. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.d.ts +2 -0
  21. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.d.ts.map +1 -0
  22. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.js +39 -0
  23. package/dist-esm/samples-dev/azureBareMetalInstancesStartSample.js.map +1 -0
  24. package/dist-esm/samples-dev/azureBareMetalInstancesUpdateSample.js +6 -6
  25. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.d.ts +2 -0
  26. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.d.ts.map +1 -0
  27. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.js +56 -0
  28. package/dist-esm/samples-dev/azureBareMetalStorageInstancesCreateSample.js.map +1 -0
  29. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.d.ts +2 -0
  30. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.d.ts.map +1 -0
  31. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.js +39 -0
  32. package/dist-esm/samples-dev/azureBareMetalStorageInstancesDeleteSample.js.map +1 -0
  33. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.d.ts +2 -0
  34. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.d.ts.map +1 -0
  35. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.js +39 -0
  36. package/dist-esm/samples-dev/azureBareMetalStorageInstancesGetSample.js.map +1 -0
  37. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.d.ts +2 -0
  38. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.d.ts.map +1 -0
  39. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.js +54 -0
  40. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListByResourceGroupSample.js.map +1 -0
  41. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.d.ts +2 -0
  42. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.d.ts.map +1 -0
  43. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.js +53 -0
  44. package/dist-esm/samples-dev/azureBareMetalStorageInstancesListBySubscriptionSample.js.map +1 -0
  45. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.d.ts +2 -0
  46. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.d.ts.map +1 -0
  47. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.js +60 -0
  48. package/dist-esm/samples-dev/azureBareMetalStorageInstancesUpdateSample.js.map +1 -0
  49. package/dist-esm/samples-dev/operationsListSample.js +4 -9
  50. package/dist-esm/samples-dev/operationsListSample.js.map +1 -1
  51. package/dist-esm/src/bareMetalInfrastructureClient.d.ts +3 -2
  52. package/dist-esm/src/bareMetalInfrastructureClient.d.ts.map +1 -1
  53. package/dist-esm/src/bareMetalInfrastructureClient.js +5 -4
  54. package/dist-esm/src/bareMetalInfrastructureClient.js.map +1 -1
  55. package/dist-esm/src/lroImpl.d.ts +11 -0
  56. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  57. package/dist-esm/src/lroImpl.js +21 -0
  58. package/dist-esm/src/lroImpl.js.map +1 -0
  59. package/dist-esm/src/models/index.d.ts +370 -81
  60. package/dist-esm/src/models/index.d.ts.map +1 -1
  61. package/dist-esm/src/models/index.js +60 -0
  62. package/dist-esm/src/models/index.js.map +1 -1
  63. package/dist-esm/src/models/mappers.d.ts +17 -7
  64. package/dist-esm/src/models/mappers.d.ts.map +1 -1
  65. package/dist-esm/src/models/mappers.js +372 -96
  66. package/dist-esm/src/models/mappers.js.map +1 -1
  67. package/dist-esm/src/models/parameters.d.ts +3 -0
  68. package/dist-esm/src/models/parameters.d.ts.map +1 -1
  69. package/dist-esm/src/models/parameters.js +27 -6
  70. package/dist-esm/src/models/parameters.js.map +1 -1
  71. package/dist-esm/src/operations/azureBareMetalInstances.d.ts +65 -14
  72. package/dist-esm/src/operations/azureBareMetalInstances.d.ts.map +1 -1
  73. package/dist-esm/src/operations/azureBareMetalInstances.js +290 -30
  74. package/dist-esm/src/operations/azureBareMetalInstances.js.map +1 -1
  75. package/dist-esm/src/operations/azureBareMetalStorageInstances.d.ts +93 -0
  76. package/dist-esm/src/operations/azureBareMetalStorageInstances.d.ts.map +1 -0
  77. package/dist-esm/src/operations/azureBareMetalStorageInstances.js +404 -0
  78. package/dist-esm/src/operations/azureBareMetalStorageInstances.js.map +1 -0
  79. package/dist-esm/src/operations/index.d.ts +1 -0
  80. package/dist-esm/src/operations/index.d.ts.map +1 -1
  81. package/dist-esm/src/operations/index.js +1 -0
  82. package/dist-esm/src/operations/index.js.map +1 -1
  83. package/dist-esm/src/operations/operations.js +4 -9
  84. package/dist-esm/src/operations/operations.js.map +1 -1
  85. package/dist-esm/src/operationsInterfaces/azureBareMetalInstances.d.ts +61 -10
  86. package/dist-esm/src/operationsInterfaces/azureBareMetalInstances.d.ts.map +1 -1
  87. package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.d.ts +55 -0
  88. package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.d.ts.map +1 -0
  89. package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.js +9 -0
  90. package/dist-esm/src/operationsInterfaces/azureBareMetalStorageInstances.js.map +1 -0
  91. package/dist-esm/src/operationsInterfaces/index.d.ts +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -1
  93. package/dist-esm/src/operationsInterfaces/index.js +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js.map +1 -1
  95. package/dist-esm/test/baremetalinfrastructure_operations_test.spec.js +7 -9
  96. package/dist-esm/test/baremetalinfrastructure_operations_test.spec.js.map +1 -1
  97. package/package.json +17 -19
  98. package/review/arm-baremetalinfrastructure.api.md +244 -19
  99. package/src/bareMetalInfrastructureClient.ts +17 -5
  100. package/src/lroImpl.ts +42 -0
  101. package/src/models/index.ts +417 -84
  102. package/src/models/mappers.ts +388 -98
  103. package/src/models/parameters.ts +34 -6
  104. package/src/operations/azureBareMetalInstances.ts +401 -13
  105. package/src/operations/azureBareMetalStorageInstances.ts +498 -0
  106. package/src/operations/index.ts +1 -0
  107. package/src/operations/operations.ts +1 -1
  108. package/src/operationsInterfaces/azureBareMetalInstances.ts +105 -9
  109. package/src/operationsInterfaces/azureBareMetalStorageInstances.ts +99 -0
  110. package/src/operationsInterfaces/index.ts +1 -0
  111. package/types/arm-baremetalinfrastructure.d.ts +516 -80
  112. package/types/tsdoc-metadata.json +1 -1
  113. package/rollup.config.js +0 -122
@@ -1,6 +1,29 @@
1
1
  import * as coreAuth from '@azure/core-auth';
2
2
  import * as coreClient from '@azure/core-client';
3
+ import { OperationState } from '@azure/core-lro';
3
4
  import { PagedAsyncIterableIterator } from '@azure/core-paging';
5
+ import { SimplePollerLike } from '@azure/core-lro';
6
+
7
+ /**
8
+ * Defines values for ActionType. \
9
+ * {@link KnownActionType} can be used interchangeably with ActionType,
10
+ * this enum contains the known values that the service supports.
11
+ * ### Known values supported by the service
12
+ * **Internal**
13
+ */
14
+ export declare type ActionType = string;
15
+
16
+ /**
17
+ * Defines values for AsyncOperationStatus. \
18
+ * {@link KnownAsyncOperationStatus} can be used interchangeably with AsyncOperationStatus,
19
+ * this enum contains the known values that the service supports.
20
+ * ### Known values supported by the service
21
+ * **Requesting** \
22
+ * **Executing** \
23
+ * **Succeeded** \
24
+ * **Failed**
25
+ */
26
+ export declare type AsyncOperationStatus = string;
4
27
 
5
28
  /**
6
29
  * Defines values for AzureBareMetalHardwareTypeNamesEnum. \
@@ -8,27 +31,23 @@ import { PagedAsyncIterableIterator } from '@azure/core-paging';
8
31
  * this enum contains the known values that the service supports.
9
32
  * ### Known values supported by the service
10
33
  * **Cisco_UCS** \
11
- * **HPE**
34
+ * **HPE** \
35
+ * **SDFLEX**
12
36
  */
13
37
  export declare type AzureBareMetalHardwareTypeNamesEnum = string;
14
38
 
15
39
  /** AzureBareMetal instance info on Azure (ARM properties and AzureBareMetal properties) */
16
40
  export declare interface AzureBareMetalInstance extends TrackedResource {
17
- /**
18
- * The system metadata relating to this resource.
19
- * NOTE: This property will not be serialized. It can only be populated by the server.
20
- */
21
- readonly systemData?: SystemData;
22
- /** Specifies the hardware settings for the AzureBareMetal instance. */
41
+ /** Specifies the hardware settings for the Azure Bare Metal Instance. */
23
42
  hardwareProfile?: HardwareProfile;
24
- /** Specifies the storage settings for the AzureBareMetal instance disks. */
43
+ /** Specifies the storage settings for the Azure Bare Metal Instance disks. */
25
44
  storageProfile?: StorageProfile;
26
- /** Specifies the operating system settings for the AzureBareMetal instance. */
45
+ /** Specifies the operating system settings for the Azure Bare Metal Instance. */
27
46
  osProfile?: OSProfile;
28
- /** Specifies the network settings for the AzureBareMetal instance. */
47
+ /** Specifies the network settings for the Azure Bare Metal Instance. */
29
48
  networkProfile?: NetworkProfile;
30
49
  /**
31
- * Specifies the AzureBareMetal instance unique ID.
50
+ * Specifies the Azure Bare Metal Instance unique ID.
32
51
  * NOTE: This property will not be serialized. It can only be populated by the server.
33
52
  */
34
53
  readonly azureBareMetalInstanceId?: string;
@@ -43,7 +62,7 @@ export declare interface AzureBareMetalInstance extends TrackedResource {
43
62
  */
44
63
  readonly proximityPlacementGroup?: string;
45
64
  /**
46
- * Hardware revision of an AzureBareMetal instance
65
+ * Hardware revision of an Azure Bare Metal Instance
47
66
  * NOTE: This property will not be serialized. It can only be populated by the server.
48
67
  */
49
68
  readonly hwRevision?: string;
@@ -56,6 +75,16 @@ export declare interface AzureBareMetalInstance extends TrackedResource {
56
75
  readonly provisioningState?: AzureBareMetalProvisioningStatesEnum;
57
76
  }
58
77
 
78
+ /**
79
+ * Defines values for AzureBareMetalInstanceForcePowerState. \
80
+ * {@link KnownAzureBareMetalInstanceForcePowerState} can be used interchangeably with AzureBareMetalInstanceForcePowerState,
81
+ * this enum contains the known values that the service supports.
82
+ * ### Known values supported by the service
83
+ * **active** \
84
+ * **inactive**
85
+ */
86
+ export declare type AzureBareMetalInstanceForcePowerState = string;
87
+
59
88
  /**
60
89
  * Defines values for AzureBareMetalInstancePowerStateEnum. \
61
90
  * {@link KnownAzureBareMetalInstancePowerStateEnum} can be used interchangeably with AzureBareMetalInstancePowerStateEnum,
@@ -73,30 +102,80 @@ export declare type AzureBareMetalInstancePowerStateEnum = string;
73
102
  /** Interface representing a AzureBareMetalInstances. */
74
103
  export declare interface AzureBareMetalInstances {
75
104
  /**
76
- * Gets a list of AzureBareMetal instances in the specified subscription. The operations returns
77
- * various properties of each Azure BareMetal instance.
105
+ * Returns a list of Azure Bare Metal Instances in the specified subscription. The operations returns
106
+ * various properties of each Azure Bare Metal Instance.
78
107
  * @param options The options parameters.
79
108
  */
80
109
  listBySubscription(options?: AzureBareMetalInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance>;
81
110
  /**
82
- * Gets a list of AzureBareMetal instances in the specified subscription and resource group. The
83
- * operations returns various properties of each Azure BareMetal instance.
111
+ * Gets a list of Azure Bare Metal Instances in the specified subscription and resource group. The
112
+ * operations returns various properties of each Azure Bare Metal Instance.
84
113
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
85
114
  * @param options The options parameters.
86
115
  */
87
116
  listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalInstance>;
88
117
  /**
89
- * Gets an Azure BareMetal instance for the specified subscription, resource group, and instance name.
118
+ * The operation to start an Azure Bare Metal instance
90
119
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
91
- * @param azureBareMetalInstanceName Name of the Azure BareMetal on Azure instance.
120
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
121
+ * ResourceName.
122
+ * @param options The options parameters.
123
+ */
124
+ beginStart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesStartResponse>, AzureBareMetalInstancesStartResponse>>;
125
+ /**
126
+ * The operation to start an Azure Bare Metal instance
127
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
128
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
129
+ * ResourceName.
130
+ * @param options The options parameters.
131
+ */
132
+ beginStartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesStartOptionalParams): Promise<AzureBareMetalInstancesStartResponse>;
133
+ /**
134
+ * The operation to restart an Azure Bare Metal Instance
135
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
136
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
137
+ * ResourceName.
138
+ * @param options The options parameters.
139
+ */
140
+ beginRestart(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesRestartResponse>, AzureBareMetalInstancesRestartResponse>>;
141
+ /**
142
+ * The operation to restart an Azure Bare Metal Instance
143
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
144
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
145
+ * ResourceName.
146
+ * @param options The options parameters.
147
+ */
148
+ beginRestartAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesRestartOptionalParams): Promise<AzureBareMetalInstancesRestartResponse>;
149
+ /**
150
+ * The operation to shutdown an Azure Bare Metal Instance
151
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
152
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
153
+ * ResourceName.
154
+ * @param options The options parameters.
155
+ */
156
+ beginShutdown(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<SimplePollerLike<OperationState<AzureBareMetalInstancesShutdownResponse>, AzureBareMetalInstancesShutdownResponse>>;
157
+ /**
158
+ * The operation to shutdown an Azure Bare Metal Instance
159
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
160
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
161
+ * ResourceName.
162
+ * @param options The options parameters.
163
+ */
164
+ beginShutdownAndWait(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesShutdownOptionalParams): Promise<AzureBareMetalInstancesShutdownResponse>;
165
+ /**
166
+ * Gets an Azure Bare Metal Instance for the specified subscription, resource group, and instance name.
167
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
168
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
169
+ * ResourceName.
92
170
  * @param options The options parameters.
93
171
  */
94
172
  get(resourceGroupName: string, azureBareMetalInstanceName: string, options?: AzureBareMetalInstancesGetOptionalParams): Promise<AzureBareMetalInstancesGetResponse>;
95
173
  /**
96
- * Patches the Tags field of a Azure BareMetal instance for the specified subscription, resource group,
97
- * and instance name.
174
+ * Patches the Tags field of a Azure Bare Metal Instance for the specified subscription, resource
175
+ * group, and instance name.
98
176
  * @param resourceGroupName The name of the resource group. The name is case insensitive.
99
- * @param azureBareMetalInstanceName Name of the Azure BareMetal on Azure instance.
177
+ * @param azureBareMetalInstanceName Name of the Azure Bare Metal Instance, also known as the
178
+ * ResourceName.
100
179
  * @param tagsParameter Request body that only contains the new Tags field
101
180
  * @param options The options parameters.
102
181
  */
@@ -140,6 +219,7 @@ export declare type AzureBareMetalInstancesGetResponse = AzureBareMetalInstance;
140
219
  * **S448oo** \
141
220
  * **S448oom** \
142
221
  * **S448ooo** \
222
+ * **S448se** \
143
223
  * **S576m** \
144
224
  * **S576xm** \
145
225
  * **S672** \
@@ -189,14 +269,67 @@ export declare interface AzureBareMetalInstancesListBySubscriptionOptionalParams
189
269
  /** Contains response data for the listBySubscription operation. */
190
270
  export declare type AzureBareMetalInstancesListBySubscriptionResponse = AzureBareMetalInstancesListResult;
191
271
 
192
- /** The response from the List AzureBareMetal Instances operation. */
272
+ /** The response from the List Azure Bare Metal Instances operation. */
193
273
  export declare interface AzureBareMetalInstancesListResult {
194
- /** The list of Azure BareMetal instances. */
274
+ /** The list of Azure Bare Metal Instances. */
195
275
  value?: AzureBareMetalInstance[];
196
- /** The URL to get the next set of AzureBareMetal instances. */
276
+ /** The URL to get the next set of Azure Bare Metal Instances. */
197
277
  nextLink?: string;
198
278
  }
199
279
 
280
+ /** Defines headers for AzureBareMetalInstances_restart operation. */
281
+ export declare interface AzureBareMetalInstancesRestartHeaders {
282
+ /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
283
+ location?: string;
284
+ }
285
+
286
+ /** Optional parameters. */
287
+ export declare interface AzureBareMetalInstancesRestartOptionalParams extends coreClient.OperationOptions {
288
+ /** When set to 'active', this parameter empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server */
289
+ forceParameter?: ForceState;
290
+ /** Delay to wait until next poll, in milliseconds. */
291
+ updateIntervalInMs?: number;
292
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
293
+ resumeFrom?: string;
294
+ }
295
+
296
+ /** Contains response data for the restart operation. */
297
+ export declare type AzureBareMetalInstancesRestartResponse = OperationStatus;
298
+
299
+ /** Defines headers for AzureBareMetalInstances_shutdown operation. */
300
+ export declare interface AzureBareMetalInstancesShutdownHeaders {
301
+ /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
302
+ location?: string;
303
+ }
304
+
305
+ /** Optional parameters. */
306
+ export declare interface AzureBareMetalInstancesShutdownOptionalParams extends coreClient.OperationOptions {
307
+ /** Delay to wait until next poll, in milliseconds. */
308
+ updateIntervalInMs?: number;
309
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
310
+ resumeFrom?: string;
311
+ }
312
+
313
+ /** Contains response data for the shutdown operation. */
314
+ export declare type AzureBareMetalInstancesShutdownResponse = OperationStatus;
315
+
316
+ /** Defines headers for AzureBareMetalInstances_start operation. */
317
+ export declare interface AzureBareMetalInstancesStartHeaders {
318
+ /** URL to track the operation status of the Microsoft Bare Metal Infrastructure in the specified location. */
319
+ location?: string;
320
+ }
321
+
322
+ /** Optional parameters. */
323
+ export declare interface AzureBareMetalInstancesStartOptionalParams extends coreClient.OperationOptions {
324
+ /** Delay to wait until next poll, in milliseconds. */
325
+ updateIntervalInMs?: number;
326
+ /** A serialized poller which can be used to resume an existing paused Long-Running-Operation. */
327
+ resumeFrom?: string;
328
+ }
329
+
330
+ /** Contains response data for the start operation. */
331
+ export declare type AzureBareMetalInstancesStartResponse = OperationStatus;
332
+
200
333
  /** Optional parameters. */
201
334
  export declare interface AzureBareMetalInstancesUpdateOptionalParams extends coreClient.OperationOptions {
202
335
  }
@@ -219,6 +352,128 @@ export declare type AzureBareMetalInstancesUpdateResponse = AzureBareMetalInstan
219
352
  */
220
353
  export declare type AzureBareMetalProvisioningStatesEnum = string;
221
354
 
355
+ /** AzureBareMetalStorageInstance info on Azure (ARM properties and AzureBareMetalStorage properties) */
356
+ export declare interface AzureBareMetalStorageInstance extends TrackedResource {
357
+ /** Specifies the AzureBareMetaStorageInstance unique ID. */
358
+ azureBareMetalStorageInstanceUniqueIdentifier?: string;
359
+ /** Specifies the storage properties for the AzureBareMetalStorage instance. */
360
+ storageProperties?: StorageProperties;
361
+ }
362
+
363
+ /** Interface representing a AzureBareMetalStorageInstances. */
364
+ export declare interface AzureBareMetalStorageInstances {
365
+ /**
366
+ * Gets a list of AzureBareMetalStorage instances in the specified subscription. The operations returns
367
+ * various properties of each Azure Bare Metal Instance.
368
+ * @param options The options parameters.
369
+ */
370
+ listBySubscription(options?: AzureBareMetalStorageInstancesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;
371
+ /**
372
+ * Gets a list of AzureBareMetalStorage instances in the specified subscription and resource group. The
373
+ * operations returns various properties of each Azure Bare Metal Instance.
374
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
375
+ * @param options The options parameters.
376
+ */
377
+ listByResourceGroup(resourceGroupName: string, options?: AzureBareMetalStorageInstancesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<AzureBareMetalStorageInstance>;
378
+ /**
379
+ * Gets an Azure Bare Metal Storage instance for the specified subscription, resource group, and
380
+ * instance name.
381
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
382
+ * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
383
+ * as the ResourceName.
384
+ * @param options The options parameters.
385
+ */
386
+ get(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesGetOptionalParams): Promise<AzureBareMetalStorageInstancesGetResponse>;
387
+ /**
388
+ * Create an azure bare metal storage resource.
389
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
390
+ * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
391
+ * as the ResourceName.
392
+ * @param requestBodyParameters request body for put call
393
+ * @param options The options parameters.
394
+ */
395
+ create(resourceGroupName: string, azureBareMetalStorageInstanceName: string, requestBodyParameters: AzureBareMetalStorageInstance, options?: AzureBareMetalStorageInstancesCreateOptionalParams): Promise<AzureBareMetalStorageInstancesCreateResponse>;
396
+ /**
397
+ * Patches the Tags field of a Azure Bare Metal Storage instance for the specified subscription,
398
+ * resource group, and instance name.
399
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
400
+ * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
401
+ * as the ResourceName.
402
+ * @param tagsParameter Request body that only contains the new Tags field
403
+ * @param options The options parameters.
404
+ */
405
+ update(resourceGroupName: string, azureBareMetalStorageInstanceName: string, tagsParameter: Tags, options?: AzureBareMetalStorageInstancesUpdateOptionalParams): Promise<AzureBareMetalStorageInstancesUpdateResponse>;
406
+ /**
407
+ * Delete an AzureBareMetalStorageInstance.
408
+ * @param resourceGroupName The name of the resource group. The name is case insensitive.
409
+ * @param azureBareMetalStorageInstanceName Name of the Azure Bare Metal Storage Instance, also known
410
+ * as the ResourceName.
411
+ * @param options The options parameters.
412
+ */
413
+ delete(resourceGroupName: string, azureBareMetalStorageInstanceName: string, options?: AzureBareMetalStorageInstancesDeleteOptionalParams): Promise<void>;
414
+ }
415
+
416
+ /** Optional parameters. */
417
+ export declare interface AzureBareMetalStorageInstancesCreateOptionalParams extends coreClient.OperationOptions {
418
+ }
419
+
420
+ /** Contains response data for the create operation. */
421
+ export declare type AzureBareMetalStorageInstancesCreateResponse = AzureBareMetalStorageInstance;
422
+
423
+ /** Optional parameters. */
424
+ export declare interface AzureBareMetalStorageInstancesDeleteOptionalParams extends coreClient.OperationOptions {
425
+ }
426
+
427
+ /** Optional parameters. */
428
+ export declare interface AzureBareMetalStorageInstancesGetOptionalParams extends coreClient.OperationOptions {
429
+ }
430
+
431
+ /** Contains response data for the get operation. */
432
+ export declare type AzureBareMetalStorageInstancesGetResponse = AzureBareMetalStorageInstance;
433
+
434
+ /** Optional parameters. */
435
+ export declare interface AzureBareMetalStorageInstancesListByResourceGroupNextOptionalParams extends coreClient.OperationOptions {
436
+ }
437
+
438
+ /** Contains response data for the listByResourceGroupNext operation. */
439
+ export declare type AzureBareMetalStorageInstancesListByResourceGroupNextResponse = AzureBareMetalStorageInstancesListResult;
440
+
441
+ /** Optional parameters. */
442
+ export declare interface AzureBareMetalStorageInstancesListByResourceGroupOptionalParams extends coreClient.OperationOptions {
443
+ }
444
+
445
+ /** Contains response data for the listByResourceGroup operation. */
446
+ export declare type AzureBareMetalStorageInstancesListByResourceGroupResponse = AzureBareMetalStorageInstancesListResult;
447
+
448
+ /** Optional parameters. */
449
+ export declare interface AzureBareMetalStorageInstancesListBySubscriptionNextOptionalParams extends coreClient.OperationOptions {
450
+ }
451
+
452
+ /** Contains response data for the listBySubscriptionNext operation. */
453
+ export declare type AzureBareMetalStorageInstancesListBySubscriptionNextResponse = AzureBareMetalStorageInstancesListResult;
454
+
455
+ /** Optional parameters. */
456
+ export declare interface AzureBareMetalStorageInstancesListBySubscriptionOptionalParams extends coreClient.OperationOptions {
457
+ }
458
+
459
+ /** Contains response data for the listBySubscription operation. */
460
+ export declare type AzureBareMetalStorageInstancesListBySubscriptionResponse = AzureBareMetalStorageInstancesListResult;
461
+
462
+ /** The response from the Get AzureBareMetalStorageInstances operation. */
463
+ export declare interface AzureBareMetalStorageInstancesListResult {
464
+ /** The list of AzureBareMetalStorage instances. */
465
+ value?: AzureBareMetalStorageInstance[];
466
+ /** The URL to get the next set of AzureBareMetalStorage instances. */
467
+ nextLink?: string;
468
+ }
469
+
470
+ /** Optional parameters. */
471
+ export declare interface AzureBareMetalStorageInstancesUpdateOptionalParams extends coreClient.OperationOptions {
472
+ }
473
+
474
+ /** Contains response data for the update operation. */
475
+ export declare type AzureBareMetalStorageInstancesUpdateResponse = AzureBareMetalStorageInstance;
476
+
222
477
  export declare class BareMetalInfrastructureClient extends coreClient.ServiceClient {
223
478
  $host: string;
224
479
  apiVersion: string;
@@ -226,7 +481,7 @@ export declare class BareMetalInfrastructureClient extends coreClient.ServiceCli
226
481
  /**
227
482
  * Initializes a new instance of the BareMetalInfrastructureClient class.
228
483
  * @param credentials Subscription credentials which uniquely identify client subscription.
229
- * @param subscriptionId The ID of the target subscription.
484
+ * @param subscriptionId The ID of the target subscription. The value must be an UUID.
230
485
  * @param options The parameter options
231
486
  */
232
487
  constructor(credentials: coreAuth.TokenCredential, subscriptionId: string, options?: BareMetalInfrastructureClientOptionalParams);
@@ -234,6 +489,7 @@ export declare class BareMetalInfrastructureClient extends coreClient.ServiceCli
234
489
  private addCustomApiVersionPolicy;
235
490
  azureBareMetalInstances: AzureBareMetalInstances;
236
491
  operations: Operations;
492
+ azureBareMetalStorageInstances: AzureBareMetalStorageInstances;
237
493
  }
238
494
 
239
495
  /** Optional parameters. */
@@ -258,7 +514,7 @@ export declare interface BareMetalInfrastructureClientOptionalParams extends cor
258
514
  */
259
515
  export declare type CreatedByType = string;
260
516
 
261
- /** Specifies the disk information fo the AzureBareMetal instance */
517
+ /** Specifies the disk information fo the Azure Bare Metal Instance */
262
518
  export declare interface Disk {
263
519
  /** The disk name. */
264
520
  name?: string;
@@ -271,53 +527,59 @@ export declare interface Disk {
271
527
  readonly lun?: number;
272
528
  }
273
529
 
274
- /** Detailed BareMetal operation information */
275
- export declare interface Display {
530
+ /** The resource management error additional info. */
531
+ export declare interface ErrorAdditionalInfo {
276
532
  /**
277
- * The localized friendly form of the resource provider name.
533
+ * The additional info type.
278
534
  * NOTE: This property will not be serialized. It can only be populated by the server.
279
535
  */
280
- readonly provider?: string;
536
+ readonly type?: string;
281
537
  /**
282
- * The localized friendly form of the resource type related to this action/operation.
538
+ * The additional info.
283
539
  * NOTE: This property will not be serialized. It can only be populated by the server.
284
540
  */
285
- readonly resource?: string;
541
+ readonly info?: Record<string, unknown>;
542
+ }
543
+
544
+ /** The error detail. */
545
+ export declare interface ErrorDetail {
286
546
  /**
287
- * The localized friendly name for the operation as shown to the user.
547
+ * The error code.
288
548
  * NOTE: This property will not be serialized. It can only be populated by the server.
289
549
  */
290
- readonly operation?: string;
550
+ readonly code?: string;
291
551
  /**
292
- * The localized friendly description for the operation as shown to the user.
552
+ * The error message.
293
553
  * NOTE: This property will not be serialized. It can only be populated by the server.
294
554
  */
295
- readonly description?: string;
296
- }
297
-
298
- /** Error definition. */
299
- export declare interface ErrorDefinition {
555
+ readonly message?: string;
300
556
  /**
301
- * Service specific error code which serves as the substatus for the HTTP error code.
557
+ * The error target.
302
558
  * NOTE: This property will not be serialized. It can only be populated by the server.
303
559
  */
304
- readonly code?: string;
560
+ readonly target?: string;
305
561
  /**
306
- * Description of the error.
562
+ * The error details.
307
563
  * NOTE: This property will not be serialized. It can only be populated by the server.
308
564
  */
309
- readonly message?: string;
565
+ readonly details?: ErrorDetail[];
310
566
  /**
311
- * Internal error details.
567
+ * The error additional info.
312
568
  * NOTE: This property will not be serialized. It can only be populated by the server.
313
569
  */
314
- readonly details?: ErrorDefinition[];
570
+ readonly additionalInfo?: ErrorAdditionalInfo[];
315
571
  }
316
572
 
317
- /** Error response. */
573
+ /** Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). */
318
574
  export declare interface ErrorResponse {
319
- /** The error details. */
320
- error?: ErrorDefinition;
575
+ /** The error object. */
576
+ error?: ErrorDetail;
577
+ }
578
+
579
+ /** The active state empowers the server with the ability to forcefully terminate and halt any existing processes that may be running on the server */
580
+ export declare interface ForceState {
581
+ /** Whether to force restart by shutting all processes. */
582
+ forceState?: AzureBareMetalInstanceForcePowerState;
321
583
  }
322
584
 
323
585
  /**
@@ -329,7 +591,7 @@ export declare interface ErrorResponse {
329
591
  */
330
592
  export declare function getContinuationToken(page: unknown): string | undefined;
331
593
 
332
- /** Specifies the hardware settings for the AzureBareMetal instance. */
594
+ /** Specifies the hardware settings for the Azure Bare Metal Instance. */
333
595
  export declare interface HardwareProfile {
334
596
  /**
335
597
  * Name of the hardware type (vendor and/or their product name)
@@ -337,16 +599,28 @@ export declare interface HardwareProfile {
337
599
  */
338
600
  readonly hardwareType?: AzureBareMetalHardwareTypeNamesEnum;
339
601
  /**
340
- * Specifies the AzureBareMetal instance SKU.
602
+ * Specifies the Azure Bare Metal Instance SKU.
341
603
  * NOTE: This property will not be serialized. It can only be populated by the server.
342
604
  */
343
605
  readonly azureBareMetalInstanceSize?: AzureBareMetalInstanceSizeNamesEnum;
344
606
  }
345
607
 
346
- /** Specifies the IP address of the network interface. */
347
- export declare interface IpAddress {
348
- /** Specifies the IP address of the network interface. */
349
- ipAddress?: string;
608
+ /** Known values of {@link ActionType} that the service accepts. */
609
+ export declare enum KnownActionType {
610
+ /** Internal */
611
+ Internal = "Internal"
612
+ }
613
+
614
+ /** Known values of {@link AsyncOperationStatus} that the service accepts. */
615
+ export declare enum KnownAsyncOperationStatus {
616
+ /** Requesting */
617
+ Requesting = "Requesting",
618
+ /** Executing */
619
+ Executing = "Executing",
620
+ /** Succeeded */
621
+ Succeeded = "Succeeded",
622
+ /** Failed */
623
+ Failed = "Failed"
350
624
  }
351
625
 
352
626
  /** Known values of {@link AzureBareMetalHardwareTypeNamesEnum} that the service accepts. */
@@ -354,7 +628,17 @@ export declare enum KnownAzureBareMetalHardwareTypeNamesEnum {
354
628
  /** CiscoUCS */
355
629
  CiscoUCS = "Cisco_UCS",
356
630
  /** HPE */
357
- HPE = "HPE"
631
+ HPE = "HPE",
632
+ /** Sdflex */
633
+ Sdflex = "SDFLEX"
634
+ }
635
+
636
+ /** Known values of {@link AzureBareMetalInstanceForcePowerState} that the service accepts. */
637
+ export declare enum KnownAzureBareMetalInstanceForcePowerState {
638
+ /** Active */
639
+ Active = "active",
640
+ /** Inactive */
641
+ Inactive = "inactive"
358
642
  }
359
643
 
360
644
  /** Known values of {@link AzureBareMetalInstancePowerStateEnum} that the service accepts. */
@@ -425,6 +709,8 @@ export declare enum KnownAzureBareMetalInstanceSizeNamesEnum {
425
709
  S448Oom = "S448oom",
426
710
  /** S448Ooo */
427
711
  S448Ooo = "S448ooo",
712
+ /** S448Se */
713
+ S448Se = "S448se",
428
714
  /** S576M */
429
715
  S576M = "S576m",
430
716
  /** S576Xm */
@@ -493,10 +779,46 @@ export declare enum KnownCreatedByType {
493
779
  Key = "Key"
494
780
  }
495
781
 
496
- /** Specifies the network settings for the AzureBareMetal instance disks. */
782
+ /** Known values of {@link Origin} that the service accepts. */
783
+ export declare enum KnownOrigin {
784
+ /** User */
785
+ User = "user",
786
+ /** System */
787
+ System = "system",
788
+ /** UserSystem */
789
+ UserSystem = "user,system"
790
+ }
791
+
792
+ /** Known values of {@link ProvisioningState} that the service accepts. */
793
+ export declare enum KnownProvisioningState {
794
+ /** Accepted */
795
+ Accepted = "Accepted",
796
+ /** Creating */
797
+ Creating = "Creating",
798
+ /** Updating */
799
+ Updating = "Updating",
800
+ /** Failed */
801
+ Failed = "Failed",
802
+ /** Succeeded */
803
+ Succeeded = "Succeeded",
804
+ /** Deleting */
805
+ Deleting = "Deleting",
806
+ /** Canceled */
807
+ Canceled = "Canceled",
808
+ /** Migrating */
809
+ Migrating = "Migrating"
810
+ }
811
+
812
+ /** Specifies the network interfaces of a bare metal resource. */
813
+ export declare interface NetworkInterface {
814
+ /** Specifies the IP address of the network interface. */
815
+ ipAddress?: string;
816
+ }
817
+
818
+ /** Specifies the network settings for the Azure Bare Metal Instance disks. */
497
819
  export declare interface NetworkProfile {
498
- /** Specifies the network interfaces for the AzureBareMetal instance. */
499
- networkInterfaces?: IpAddress[];
820
+ /** Specifies the network interfaces for the Azure Bare Metal Instance. */
821
+ networkInterfaces?: NetworkInterface[];
500
822
  /**
501
823
  * Specifies the circuit id for connecting to express route.
502
824
  * NOTE: This property will not be serialized. It can only be populated by the server.
@@ -504,26 +826,68 @@ export declare interface NetworkProfile {
504
826
  readonly circuitId?: string;
505
827
  }
506
828
 
507
- /** AzureBareMetal operation information */
829
+ /** Details of a REST API operation, returned from the Resource Provider Operations API */
508
830
  export declare interface Operation {
509
831
  /**
510
- * The name of the operation being performed on this particular object. This name should match the action name that appears in RBAC / the event service.
832
+ * The name of the operation, as per Resource-Based Access Control (RBAC). Examples: "Microsoft.Compute/virtualMachines/write", "Microsoft.Compute/virtualMachines/capture/action"
511
833
  * NOTE: This property will not be serialized. It can only be populated by the server.
512
834
  */
513
835
  readonly name?: string;
514
- /** Displayed AzureBareMetal operation information */
515
- display?: Display;
516
836
  /**
517
- * indicates whether an operation is a data action or not.
837
+ * Whether the operation applies to data-plane. This is "true" for data-plane operations and "false" for ARM/control-plane operations.
518
838
  * NOTE: This property will not be serialized. It can only be populated by the server.
519
839
  */
520
840
  readonly isDataAction?: boolean;
841
+ /** Localized display information for this particular operation. */
842
+ display?: OperationDisplay;
843
+ /**
844
+ * The intended executor of the operation; as in Resource Based Access Control (RBAC) and audit logs UX. Default value is "user,system"
845
+ * NOTE: This property will not be serialized. It can only be populated by the server.
846
+ */
847
+ readonly origin?: Origin;
848
+ /**
849
+ * Enum. Indicates the action type. "Internal" refers to actions that are for internal only APIs.
850
+ * NOTE: This property will not be serialized. It can only be populated by the server.
851
+ */
852
+ readonly actionType?: ActionType;
521
853
  }
522
854
 
523
- /** List of AzureBareMetal operations */
524
- export declare interface OperationList {
525
- /** List of AzureBareMetal operations */
526
- value?: Operation[];
855
+ /** Localized display information for this particular operation. */
856
+ export declare interface OperationDisplay {
857
+ /**
858
+ * The localized friendly form of the resource provider name, e.g. "Microsoft Monitoring Insights" or "Microsoft Compute".
859
+ * NOTE: This property will not be serialized. It can only be populated by the server.
860
+ */
861
+ readonly provider?: string;
862
+ /**
863
+ * The localized friendly name of the resource type related to this operation. E.g. "Virtual Machines" or "Job Schedule Collections".
864
+ * NOTE: This property will not be serialized. It can only be populated by the server.
865
+ */
866
+ readonly resource?: string;
867
+ /**
868
+ * The concise, localized friendly name for the operation; suitable for dropdowns. E.g. "Create or Update Virtual Machine", "Restart Virtual Machine".
869
+ * NOTE: This property will not be serialized. It can only be populated by the server.
870
+ */
871
+ readonly operation?: string;
872
+ /**
873
+ * The short, localized friendly description of the operation; suitable for tool tips and detailed views.
874
+ * NOTE: This property will not be serialized. It can only be populated by the server.
875
+ */
876
+ readonly description?: string;
877
+ }
878
+
879
+ /** A list of REST API operations supported by an Azure Resource Provider. It contains an URL link to get the next set of results. */
880
+ export declare interface OperationListResult {
881
+ /**
882
+ * List of operations supported by the resource provider
883
+ * NOTE: This property will not be serialized. It can only be populated by the server.
884
+ */
885
+ readonly value?: Operation[];
886
+ /**
887
+ * URL to get the next set of operation list results (if there are any).
888
+ * NOTE: This property will not be serialized. It can only be populated by the server.
889
+ */
890
+ readonly nextLink?: string;
527
891
  }
528
892
 
529
893
  /** Interface representing a Operations. */
@@ -540,11 +904,42 @@ export declare interface OperationsListOptionalParams extends coreClient.Operati
540
904
  }
541
905
 
542
906
  /** Contains response data for the list operation. */
543
- export declare type OperationsListResponse = OperationList;
907
+ export declare type OperationsListResponse = OperationListResult;
908
+
909
+ /** The OperationStatus object returns the state of an asynchronous operation. */
910
+ export declare interface OperationStatus {
911
+ /** Unique Operation Status Identifier. */
912
+ name?: string;
913
+ /** Status of the operation. */
914
+ status?: AsyncOperationStatus;
915
+ /** Start Time when the operation was initially executed. */
916
+ startTime?: string;
917
+ /** An error from the Azure Bare Metal Infrastructure service. */
918
+ error?: OperationStatusError;
919
+ }
544
920
 
545
- /** Specifies the operating system settings for the AzureBareMetal instance. */
921
+ /** An error from the Azure Bare Metal Infrastructure service. */
922
+ export declare interface OperationStatusError {
923
+ /** Server-defined set of error codes. */
924
+ code?: string;
925
+ /** Human-readable representation of the error. */
926
+ message?: string;
927
+ }
928
+
929
+ /**
930
+ * Defines values for Origin. \
931
+ * {@link KnownOrigin} can be used interchangeably with Origin,
932
+ * this enum contains the known values that the service supports.
933
+ * ### Known values supported by the service
934
+ * **user** \
935
+ * **system** \
936
+ * **user,system**
937
+ */
938
+ export declare type Origin = string;
939
+
940
+ /** Specifies the operating system settings for the Azure Bare Metal instance. */
546
941
  export declare interface OSProfile {
547
- /** Specifies the host OS name of the AzureBareMetal instance. */
942
+ /** Specifies the host OS name of the Azure Bare Metal instance. */
548
943
  computerName?: string;
549
944
  /**
550
945
  * This property allows you to specify the type of the OS.
@@ -560,10 +955,26 @@ export declare interface OSProfile {
560
955
  sshPublicKey?: string;
561
956
  }
562
957
 
958
+ /**
959
+ * Defines values for ProvisioningState. \
960
+ * {@link KnownProvisioningState} can be used interchangeably with ProvisioningState,
961
+ * this enum contains the known values that the service supports.
962
+ * ### Known values supported by the service
963
+ * **Accepted** \
964
+ * **Creating** \
965
+ * **Updating** \
966
+ * **Failed** \
967
+ * **Succeeded** \
968
+ * **Deleting** \
969
+ * **Canceled** \
970
+ * **Migrating**
971
+ */
972
+ export declare type ProvisioningState = string;
973
+
563
974
  /** Common fields that are returned in the response for all Azure Resource Manager resources */
564
975
  export declare interface Resource {
565
976
  /**
566
- * Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
977
+ * Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"
567
978
  * NOTE: This property will not be serialized. It can only be populated by the server.
568
979
  */
569
980
  readonly id?: string;
@@ -577,25 +988,50 @@ export declare interface Resource {
577
988
  * NOTE: This property will not be serialized. It can only be populated by the server.
578
989
  */
579
990
  readonly type?: string;
991
+ /**
992
+ * Azure Resource Manager metadata containing createdBy and modifiedBy information.
993
+ * NOTE: This property will not be serialized. It can only be populated by the server.
994
+ */
995
+ readonly systemData?: SystemData;
580
996
  }
581
997
 
582
- /** Sample result definition */
583
- export declare interface Result {
584
- /** Sample property of type string */
585
- sampleProperty?: string;
998
+ /** Describes the billing related details of the AzureBareMetalStorageInstance. */
999
+ export declare interface StorageBillingProperties {
1000
+ /** the billing mode for the storage instance */
1001
+ billingMode?: string;
1002
+ /** the SKU type that is provisioned */
1003
+ azureBareMetalStorageInstanceSize?: string;
586
1004
  }
587
1005
 
588
- /** Specifies the storage settings for the AzureBareMetal instance disks. */
1006
+ /** Specifies the storage settings for the Azure Bare Metal instance disks. */
589
1007
  export declare interface StorageProfile {
590
1008
  /**
591
1009
  * IP Address to connect to storage.
592
1010
  * NOTE: This property will not be serialized. It can only be populated by the server.
593
1011
  */
594
1012
  readonly nfsIpAddress?: string;
595
- /** Specifies information about the operating system disk used by baremetal instance. */
1013
+ /** Specifies information about the operating system disk used by bare metal instance. */
596
1014
  osDisks?: Disk[];
597
1015
  }
598
1016
 
1017
+ /** described the storage properties of the azure bare metal storage instance */
1018
+ export declare interface StorageProperties {
1019
+ /** State of provisioning of the AzureBareMetalStorageInstance */
1020
+ provisioningState?: ProvisioningState;
1021
+ /** the offering type for which the resource is getting provisioned */
1022
+ offeringType?: string;
1023
+ /** the storage protocol for which the resource is getting provisioned */
1024
+ storageType?: string;
1025
+ /** the kind of storage instance */
1026
+ generation?: string;
1027
+ /** the hardware type of the storage instance */
1028
+ hardwareType?: string;
1029
+ /** the workload for which the resource is getting provisioned */
1030
+ workloadType?: string;
1031
+ /** the billing related information for the resource */
1032
+ storageBillingProperties?: StorageBillingProperties;
1033
+ }
1034
+
599
1035
  /** Metadata pertaining to creation and last modification of the resource. */
600
1036
  export declare interface SystemData {
601
1037
  /** The identity that created the resource. */
@@ -612,9 +1048,9 @@ export declare interface SystemData {
612
1048
  lastModifiedAt?: Date;
613
1049
  }
614
1050
 
615
- /** Tags field of the AzureBareMetal instance. */
1051
+ /** Tags field of the AzureBareMetal/AzureBareMetaStorage instance. */
616
1052
  export declare interface Tags {
617
- /** Tags field of the AzureBareMetal instance. */
1053
+ /** Tags field of the AzureBareMetal/AzureBareMetaStorage instance. */
618
1054
  tags?: {
619
1055
  [propertyName: string]: string;
620
1056
  };