Skip to content

Commit 452b356

Browse files
bingikarthikBingi Narasimha Karthik
andauthored
feat: Add support for CapacityReservationGroup in ASO v2 (#4980)
* feat: Add support for CapacityReservationGroup in ASO v2 * review comments * push recording test * Add integration test recording for CapacityReservationGroup CRUD operations - Added Test_Compute_CapacityReservationGroup_CRUD.yaml recording file - Enables test replay without requiring live Azure credentials - Completes the CapacityReservationGroup implementation for ASO v2 * Record sample * Add missing sample file * Fix formatting: add newline at end of test file --------- Co-authored-by: Bingi Narasimha Karthik <[email protected]>
1 parent cca9af6 commit 452b356

File tree

43 files changed

+17410
-451
lines changed

Some content is hidden

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

43 files changed

+17410
-451
lines changed

docs/hugo/content/reference/_index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -247,6 +247,15 @@ These resource(s) are available for use in the current release of ASO. Different
247247

248248
To install the CRDs for these resources, your ASO configuration must include `compute.azure.com/*` as one of the configured CRD patterns. See [CRD Management in ASO](https://azure.github.io/azure-service-operator/guide/crd-management/) for details on doing this for both [Helm](https://azure.github.io/azure-service-operator/guide/crd-management/#helm) and [YAML](https://azure.github.io/azure-service-operator/guide/crd-management/#yaml) based installations.
249249

250+
### Next Release
251+
252+
Development of these new resources is complete and they will be available in the next release of ASO.
253+
254+
| Resource | ARM Version | CRD Version | Supported From | Sample |
255+
|--------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------|
256+
| CapacityReservation | 2025-04-01 | v1api20250401 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/compute/v1api20250401/v1api20250401_capacityreservation.yaml) |
257+
| CapacityReservationGroup | 2025-04-01 | v1api20250401 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/compute/v1api20250401/v1api20250401_capacityreservationgroup.yaml) |
258+
250259
### Latest Released Versions
251260

252261
These resource(s) are the latest versions available for use in the current release of ASO. Different versions of a given resource reflect different versions of the Azure ARM API.

docs/hugo/content/reference/compute/_index.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,15 @@ no_list: true
55
---
66
To install the CRDs for these resources, your ASO configuration must include `compute.azure.com/*` as one of the configured CRD patterns. See [CRD Management in ASO](https://azure.github.io/azure-service-operator/guide/crd-management/) for details on doing this for both [Helm](https://azure.github.io/azure-service-operator/guide/crd-management/#helm) and [YAML](https://azure.github.io/azure-service-operator/guide/crd-management/#yaml) based installations.
77

8+
### Next Release
9+
10+
Development of these new resources is complete and they will be available in the next release of ASO.
11+
12+
| Resource | ARM Version | CRD Version | Supported From | Sample |
13+
|--------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------|
14+
| CapacityReservation | 2025-04-01 | v1api20250401 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/compute/v1api20250401/v1api20250401_capacityreservation.yaml) |
15+
| CapacityReservationGroup | 2025-04-01 | v1api20250401 | v2.16.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/compute/v1api20250401/v1api20250401_capacityreservationgroup.yaml) |
16+
817
### Latest Released Versions
918

1019
These resource(s) are the latest versions available for use in the current release of ASO. Different versions of a given resource reflect different versions of the Azure ARM API.

v2/api/compute/customizations/capacity_reservation_extension_types_gen.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/compute/customizations/capacity_reservation_group_extension_types_gen.go

Lines changed: 20 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

v2/api/compute/customizations/structure.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ github.com/Azure/azure-service-operator/v2/api/compute/customizations
33
---------------------------------------------------------------------
44
AvailabilitySetExtension: Object (0 properties)
55

6+
CapacityReservationExtension: Object (0 properties)
7+
8+
CapacityReservationGroupExtension: Object (0 properties)
9+
610
DiskAccessExtension: Object (0 properties)
711

812
DiskEncryptionSetExtension: Object (0 properties)

0 commit comments

Comments
 (0)