Skip to content

Commit 9b70c49

Browse files
authored
cleanup 02-15 version from typespec (#40478)
1 parent 7832f1d commit 9b70c49

119 files changed

Lines changed: 105 additions & 9638 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/Cluster.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ model Cluster is Azure.ResourceManager.TrackedResource<ClusterProperties> {
3333
}
3434

3535
// here is the augment decorator for versioning
36-
@@added(Cluster.kind, Versions.v2026_02_15_preview);
36+
@@added(Cluster.kind, Versions.v2026_03_01_preview);
3737

3838
@armResourceOperations
3939
interface Clusters {
@@ -128,7 +128,7 @@ interface Clusters {
128128
/**
129129
* Changes ring of a cluster
130130
*/
131-
@added(Versions.v2026_02_15_preview)
131+
@added(Versions.v2026_03_01_preview)
132132
changeRing is ArmResourceActionAsync<Cluster, ChangeRingRequest, Cluster>;
133133

134134
/**

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/Publisher.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.AzureStackHCI;
1616
* Publisher details.
1717
*/
1818
@parentResource(Cluster)
19-
@added(Versions.v2026_02_15_preview)
19+
@added(Versions.v2026_03_01_preview)
2020
model Publisher is Azure.ResourceManager.ProxyResource<PublisherProperties> {
2121
...ResourceNameParameter<
2222
Resource = Publisher,
@@ -27,7 +27,7 @@ model Publisher is Azure.ResourceManager.ProxyResource<PublisherProperties> {
2727
}
2828

2929
@armResourceOperations
30-
@added(Versions.v2026_02_15_preview)
30+
@added(Versions.v2026_03_01_preview)
3131
interface Publishers {
3232
/**
3333
* Get Publisher resource details of HCI Cluster.

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/Update.tsp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ interface Updates {
8080
* Prepare Update
8181
*/
8282
#suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "The final response has no content, so 204 is returned."
83-
@added(Versions.v2026_02_15_preview)
83+
@added(Versions.v2026_03_01_preview)
8484
prepare is ArmResourceActionNoContentAsync<Update, void>;
8585
}
8686

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/UpdateSummaries.tsp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ interface UpdateSummariesOperationGroup {
7373
* Check for updates
7474
*/
7575
#suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "The final response has no content, so 204 is returned."
76-
@added(Versions.v2026_02_15_preview)
76+
@added(Versions.v2026_03_01_preview)
7777
checkUpdates is ArmResourceActionNoContentAsync<
7878
UpdateSummaries,
7979
CheckUpdatesRequest
@@ -83,7 +83,7 @@ interface UpdateSummariesOperationGroup {
8383
* Check health of UpdateSummaries
8484
*/
8585
#suppress "@azure-tools/typespec-azure-resource-manager/arm-post-operation-response-codes" "The final response has no content, so 204 is returned."
86-
@added(Versions.v2026_02_15_preview)
86+
@added(Versions.v2026_03_01_preview)
8787
checkHealth is ArmResourceActionNoContentAsync<UpdateSummaries, void>;
8888
}
8989

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/clusterJobs.tsp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ namespace Microsoft.AzureStackHCI;
1616
/**
1717
* Cluster Jobs resource
1818
*/
19-
@added(Versions.v2026_02_15_preview)
19+
@added(Versions.v2026_03_01_preview)
2020
@parentResource(Cluster)
2121
model ClusterJob is Azure.ResourceManager.ProxyResource<ClusterJobProperties> {
2222
...ResourceNameParameter<
@@ -30,7 +30,7 @@ model ClusterJob is Azure.ResourceManager.ProxyResource<ClusterJobProperties> {
3030
/**
3131
* ClusterJobs operations
3232
*/
33-
@added(Versions.v2026_02_15_preview)
33+
@added(Versions.v2026_03_01_preview)
3434
@armResourceOperations
3535
interface ClusterJobs {
3636
/** Get a ClusterJob */
@@ -50,7 +50,7 @@ interface ClusterJobs {
5050
}
5151

5252
/** Cluster Job properties */
53-
@added(Versions.v2026_02_15_preview)
53+
@added(Versions.v2026_03_01_preview)
5454
@discriminator("jobType")
5555
model ClusterJobProperties {
5656
/** Job Type to support polymorphic resource. */
@@ -90,5 +90,5 @@ model ClusterJobProperties {
9090
/**
9191
* List of Cluster Job resources for the HCI cluster.
9292
*/
93-
@added(Versions.v2026_02_15_preview)
93+
@added(Versions.v2026_03_01_preview)
9494
model ClusterJobListResult is Azure.Core.Page<ClusterJob>;

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/commonModels.tsp

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ namespace Microsoft.AzureStackHCI;
1414
/**
1515
* Represents the Confidential Virtual Machine (CVM) support intent and current status for the cluster resource.
1616
*/
17-
@added(Versions.v2026_02_15_preview)
17+
@added(Versions.v2026_03_01_preview)
1818
model ConfidentialVmProperties {
1919
/**
2020
* Captures the customer's intent to enable or disable CVM support on the cluster, either during initial deployment (Day-0) or at a later stage (Day-N).
@@ -38,7 +38,7 @@ model ConfidentialVmProperties {
3838
/**
3939
* Captures the customer's intent to enable or disable Confidential Virtual Machine (CVM) support on the cluster, either during initial deployment (Day-0) or at a later stage (Day-N).
4040
*/
41-
@added(Versions.v2026_02_15_preview)
41+
@added(Versions.v2026_03_01_preview)
4242
union ConfidentialVmIntent {
4343
string,
4444

@@ -56,7 +56,7 @@ union ConfidentialVmIntent {
5656
/**
5757
* Captures the current status of Confidential Virtual Machine (CVM) support on the cluster.
5858
*/
59-
@added(Versions.v2026_02_15_preview)
59+
@added(Versions.v2026_03_01_preview)
6060
union ConfidentialVmStatus {
6161
string,
6262

@@ -79,7 +79,7 @@ union ConfidentialVmStatus {
7979
/**
8080
* Represents the Confidential Virtual Machine (CVM) configuration status for an edge device. It includes the current IGVM support state and detailed component-level status information.
8181
*/
82-
@added(Versions.v2026_02_15_preview)
82+
@added(Versions.v2026_03_01_preview)
8383
model ConfidentialVmProfile {
8484
/**
8585
* Indicates whether Independent Guest Virtual Machine (IGVM) support is available on the device. This will be 'Enabled' if the device supports CVMs, 'Disabled' if not, and 'Unknown' if the status cannot be determined.
@@ -97,7 +97,7 @@ model ConfidentialVmProfile {
9797
/**
9898
* Provides component-level status information related to IGVM enablement on the device.
9999
*/
100-
@added(Versions.v2026_02_15_preview)
100+
@added(Versions.v2026_03_01_preview)
101101
model IgvmStatusDetail {
102102
/**
103103
* A machine-readable status code indicating the result or condition of a specific IGVM-related check or operation.
@@ -115,7 +115,7 @@ model IgvmStatusDetail {
115115
/**
116116
* Represents the IGVM support status for the device.
117117
*/
118-
@added(Versions.v2026_02_15_preview)
118+
@added(Versions.v2026_03_01_preview)
119119
union IgvmStatus {
120120
string,
121121

@@ -139,7 +139,7 @@ union IgvmStatus {
139139
* Represents the Software Defined Networking (SDN) configuration state of the Azure Stack HCI cluster.
140140
*/
141141
#suppress "@azure-tools/typespec-azure-core/composition-over-inheritance" "For backward compatibility"
142-
@added(Versions.v2026_02_15_preview)
142+
@added(Versions.v2026_03_01_preview)
143143
model ClusterSdnProperties extends SdnProperties {
144144
/**
145145
* Indicates whether Software Defined Networking (SDN) integration should be enabled or disabled for this deployment.
@@ -151,7 +151,7 @@ model ClusterSdnProperties extends SdnProperties {
151151
/**
152152
* Indicates whether Software Defined Networking (SDN) integration should be enabled or disabled for this deployment.
153153
*/
154-
@added(Versions.v2026_02_15_preview)
154+
@added(Versions.v2026_03_01_preview)
155155
union SdnIntegrationIntent {
156156
string,
157157

@@ -169,7 +169,7 @@ union SdnIntegrationIntent {
169169
/**
170170
* Represents the Software Defined Networking (SDN) configuration state.
171171
*/
172-
@added(Versions.v2026_02_15_preview)
172+
@added(Versions.v2026_03_01_preview)
173173
model SdnProperties {
174174
/**
175175
* Indicates the current Software Defined Networking (SDN) status of the resource, which may be an individual device or a cluster.
@@ -193,7 +193,7 @@ model SdnProperties {
193193
/**
194194
* Indicates the current Software Defined Networking (SDN) status of the resource, which may be an individual device or a cluster.
195195
*/
196-
@added(Versions.v2026_02_15_preview)
196+
@added(Versions.v2026_03_01_preview)
197197
union SdnStatus {
198198
string,
199199

specification/azurestackhci/resource-manager/Microsoft.AzureStackHCI/StackHCI/edgeMachine.tsp

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ using Azure.Core;
1313
@armProviderNamespace("Microsoft.AzureStackHCI")
1414
namespace Microsoft.AzureStackHCI;
1515

16-
@added(Versions.v2026_02_15_preview)
16+
@added(Versions.v2026_03_01_preview)
1717
@doc("EdgeMachine details.")
1818
model EdgeMachine
1919
is Azure.ResourceManager.TrackedResource<EdgeMachineProperties> {
@@ -26,7 +26,7 @@ model EdgeMachine
2626
...ManagedServiceIdentityProperty;
2727
}
2828

29-
@added(Versions.v2026_02_15_preview)
29+
@added(Versions.v2026_03_01_preview)
3030
@armResourceOperations
3131
interface EdgeMachines {
3232
@doc("Get an edge machine.")
@@ -53,7 +53,7 @@ interface EdgeMachines {
5353

5454
////////////////////// models //////////////////////
5555

56-
@added(Versions.v2026_02_15_preview)
56+
@added(Versions.v2026_03_01_preview)
5757
@doc("Edge Machine Kind.")
5858
union EdgeMachineKind {
5959
string,
@@ -65,7 +65,7 @@ union EdgeMachineKind {
6565
Dedicated: "Dedicated",
6666
}
6767

68-
@added(Versions.v2026_02_15_preview)
68+
@added(Versions.v2026_03_01_preview)
6969
@doc("Properties for edge machine.")
7070
model EdgeMachineProperties {
7171
@doc("Edge Machine type.")
@@ -145,7 +145,7 @@ model EdgeMachineProperties {
145145
lastSyncTimestamp?: utcDateTime;
146146
}
147147

148-
@added(Versions.v2026_02_15_preview)
148+
@added(Versions.v2026_03_01_preview)
149149
@doc("Model for patching edge machine.")
150150
model EdgeMachinePatch {
151151
...Azure.ResourceManager.Foundations.ArmTagsProperty;
@@ -155,7 +155,7 @@ model EdgeMachinePatch {
155155
/**
156156
* Details for device provisioning.
157157
*/
158-
@added(Versions.v2026_02_15_preview)
158+
@added(Versions.v2026_03_01_preview)
159159
model ProvisioningDetails {
160160
@doc("Operating system profile.")
161161
osProfile: OsProvisionProfile;
@@ -169,7 +169,7 @@ model ProvisioningDetails {
169169
/**
170170
* Details for ownership voucher.
171171
*/
172-
@added(Versions.v2026_02_15_preview)
172+
@added(Versions.v2026_03_01_preview)
173173
model OwnershipVoucherDetails {
174174
@doc("Ownership voucher in base64 encoded format")
175175
@secret
@@ -182,15 +182,15 @@ model OwnershipVoucherDetails {
182182
/**
183183
* Type of owner key in the voucher
184184
*/
185-
@added(Versions.v2026_02_15_preview)
185+
@added(Versions.v2026_03_01_preview)
186186
union OwnerKeyType {
187187
string,
188188

189189
@doc("Owner is Microsoft managed key")
190190
MicrosoftManaged: "MicrosoftManaged",
191191
}
192192

193-
@added(Versions.v2026_02_15_preview)
193+
@added(Versions.v2026_03_01_preview)
194194
@doc("operation detail.")
195195
model OperationDetail {
196196
@doc("operation name.")
@@ -222,7 +222,7 @@ model OperationDetail {
222222
error?: Azure.ResourceManager.Foundations.ErrorDetail;
223223
}
224224

225-
@added(Versions.v2026_02_15_preview)
225+
@added(Versions.v2026_03_01_preview)
226226
@doc("Overall connectivity status for the machine resource.")
227227
union EdgeMachineConnectivityStatus {
228228
string,
@@ -237,7 +237,7 @@ union EdgeMachineConnectivityStatus {
237237
Connected: "Connected",
238238
}
239239

240-
@added(Versions.v2026_02_15_preview)
240+
@added(Versions.v2026_03_01_preview)
241241
@doc("Site Details consists of common configurations.")
242242
model SiteDetails {
243243
@doc("Site resource Id to be set during Edge Machine resource creation.")
@@ -251,7 +251,7 @@ model SiteDetails {
251251
deviceConfiguration?: TargetDeviceConfiguration;
252252
}
253253

254-
@added(Versions.v2026_02_15_preview)
254+
@added(Versions.v2026_03_01_preview)
255255
@doc("OS State")
256256
union EdgeMachineState {
257257
string,
@@ -284,7 +284,7 @@ union EdgeMachineState {
284284
Preparing: "Preparing",
285285
}
286286

287-
@added(Versions.v2026_02_15_preview)
287+
@added(Versions.v2026_03_01_preview)
288288
@doc("Reported properties for edge machine.")
289289
model EdgeMachineReportedProperties {
290290
@doc("Last time data reported.")
@@ -316,7 +316,7 @@ model EdgeMachineReportedProperties {
316316
extensionProfile?: ExtensionProfile;
317317
}
318318

319-
@added(Versions.v2026_02_15_preview)
319+
@added(Versions.v2026_03_01_preview)
320320
@doc("NetworkProfile of edge machine.")
321321
model EdgeMachineNetworkProfile {
322322
@doc("List of Network Interface Card (NIC) Details of edge machine.")
@@ -330,7 +330,7 @@ model EdgeMachineNetworkProfile {
330330
switchDetails?: SwitchDetail[];
331331
}
332332

333-
@added(Versions.v2026_02_15_preview)
333+
@added(Versions.v2026_03_01_preview)
334334
@doc("Network Interface Card (NIC) Details of edge machine.")
335335
model EdgeMachineNicDetail {
336336
/**
@@ -433,7 +433,7 @@ model EdgeMachineNicDetail {
433433
/**
434434
* OS configurations for HCI device.
435435
*/
436-
@added(Versions.v2026_02_15_preview)
436+
@added(Versions.v2026_03_01_preview)
437437
model OsProfile {
438438
/**
439439
* The boot type of the device. e.g. UEFI, Legacy etc
@@ -487,7 +487,7 @@ model OsProfile {
487487
/**
488488
* Hardware profile for the machine
489489
*/
490-
@added(Versions.v2026_02_15_preview)
490+
@added(Versions.v2026_03_01_preview)
491491
model HardwareProfile {
492492
/**
493493
* Number of cpu cores in the machine
@@ -532,7 +532,7 @@ model HardwareProfile {
532532
processorType?: string;
533533
}
534534

535-
@added(Versions.v2026_02_15_preview)
535+
@added(Versions.v2026_03_01_preview)
536536
@doc("StorageProfile of edge machine.")
537537
model StorageProfile {
538538
@doc("Number of storage disks in the device with $CanPool as true.")
@@ -542,7 +542,7 @@ model StorageProfile {
542542
/**
543543
* details of validation failure
544544
*/
545-
@added(Versions.v2026_02_15_preview)
545+
@added(Versions.v2026_03_01_preview)
546546
model ErrorDetailModel {
547547
/**
548548
* Exception details while installing extension.

0 commit comments

Comments
 (0)