Skip to content

Commit a562622

Browse files
Add support for Microsoft.Compute/availabilitySets v2024-11-01 (#4862)
* Initial plan * Add Microsoft.Compute/availabilitySets v2024-11-01 support with generated code, test, and sample Co-authored-by: theunrepentantgeek <1272094+theunrepentantgeek@users.noreply.github.com> * Address review feedback: use $exportAs, add newline to sample, and remove VirtualMachines from spec Co-authored-by: theunrepentantgeek <1272094+theunrepentantgeek@users.noreply.github.com> * Fix test and record successful execution * Update deepcopy files * Record sample * Rename sample * Update documentation indexes --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: theunrepentantgeek <1272094+theunrepentantgeek@users.noreply.github.com> Co-authored-by: Bevan Arps <bevan.arps@microsoft.com>
1 parent 491f5d8 commit a562622

36 files changed

+13289
-454
lines changed

docs/hugo/content/reference/_index.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,14 @@ Development of these new resources is complete and they will be available in the
211211

212212
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.
213213

214+
### Next Release
215+
216+
Development of these new resources is complete and they will be available in the next release of ASO.
217+
218+
| Resource | ARM Version | CRD Version | Supported From | Sample |
219+
|-----------------|-------------|---------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------|
220+
| AvailabilitySet | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/compute/v1api20241101/v1api20241101_availabilityset.yaml) |
221+
214222
### Latest Released Versions
215223

216224
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: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,14 @@ 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+
| AvailabilitySet | 2024-11-01 | v1api20241101 | v2.15.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/compute/v1api20241101/v1api20241101_availabilityset.yaml) |
15+
816
### Latest Released Versions
917

1018
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/availability_set_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: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
22
github.com/Azure/azure-service-operator/v2/api/compute/customizations
33
---------------------------------------------------------------------
4+
AvailabilitySetExtension: Object (0 properties)
5+
46
DiskAccessExtension: Object (0 properties)
57

68
DiskEncryptionSetExtension: Object (0 properties)

v2/api/compute/v1api20220301/storage/image_types_gen.go

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

v2/api/compute/v1api20220301/storage/image_types_gen_test.go

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

0 commit comments

Comments
 (0)