Skip to content

feat(azure-ocean): add 5 new VNG fields - encryptionAtHost, preferredVmSizes, localDnsProfile, restrictScaleDown, scheduling - #202

Open
avneesh101 wants to merge 1 commit into
v2from
testbranch
Open

feat(azure-ocean): add 5 new VNG fields - encryptionAtHost, preferredVmSizes, localDnsProfile, restrictScaleDown, scheduling#202
avneesh101 wants to merge 1 commit into
v2from
testbranch

Conversation

@avneesh101

Copy link
Copy Markdown

What's Changed

Added 5 missing fields to the Azure Ocean VNG model (__init__.py) identified by comparing against the Java API models:

New Fields

Field Class Type
encryption_at_host NodePoolProperties bool
local_dns_profile NodePoolProperties LocalDnsProfile
preferred_vm_sizes VmSizes List[str]
restrict_scale_down VirtualNodeGroupTemplate bool
scheduling VirtualNodeGroupTemplate Scheduling

New Class

  • LocalDnsProfile — with mode: str, vnet_d_n_s_overrides: dict, kube_d_n_s_overrides: dict

Files Changed

  • spotinst_sdk2/models/ocean/azure/__init__.py — model changes
  • spotinst_sdk2/version.py — bumped to 3.22.1
  • CHANGELOG.md — updated
  • docs/models/ocean/azure.md — updated class signatures

Testing

All fields verified end-to-end against the Spotinst API (create VNG → GET assert → UPDATE → GET assert → DELETE).

…VmSizes, localDnsProfile, restrictScaleDown, scheduling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants