NetworkCloud 2026-01-01-preview API - Update generated SDK and sample tests#56809
Draft
nafizhaider32 wants to merge 3 commits intomainfrom
Draft
NetworkCloud 2026-01-01-preview API - Update generated SDK and sample tests#56809nafizhaider32 wants to merge 3 commits intomainfrom
nafizhaider32 wants to merge 3 commits intomainfrom
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Azure.ResourceManager.NetworkCloud SDK from the stable 2025-09-01 API version to the preview 2026-01-01-preview API version. The update is auto-generated from the Azure REST API specs and includes new resource types, new model properties, and updated documentation comments across the SDK.
Changes:
- Bumps the API version from
2025-09-01to2026-01-01-previewacross all rest operation clients, generated collection/resource types, and sample test files. - Introduces new resource types and models: AccessBridge (with endpoints, security rules, patch), KubernetesVersion, DeploymentType, ClusterManagerRelayConfiguration, StorageApplianceExpansionShelf, ClusterInspectContent, and several new enums (RuntimeProtectionAgentHealthStatus, RuntimeProtectionDefinitionUpdateMode, etc.).
- Adds new properties to existing models (e.g.,
Kindon Cluster/ClusterManager,ExpansionShelveson StorageAppliance,BmcIPv4Address/BmcIPv6Addresson BareMetalMachine) and makesRuntimeProtectionConfigurationpublic with backward-compat shim via Custom files.
Reviewed changes
Copilot reviewed 5 out of 180 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
src/autorest.md |
Points to new API spec commit and 2026-01-01-preview tag |
src/Generated/RestOperations/*.cs (16 files) |
Default API version bumped to 2026-01-01-preview |
src/Generated/NetworkCloud*Collection.cs (16 files) |
XML doc Default Api Version updated |
src/Generated/NetworkCloud*Resource.cs (2 files) |
XML doc Default Api Version updated |
src/Generated/NetworkCloudStorageApplianceData*.cs |
New ExpansionShelves property |
src/Generated/NetworkCloudRackSkuData*.cs |
New DeploymentType property |
src/Generated/NetworkCloudClusterManagerData*.cs |
New Kind and RelayConfiguration properties |
src/Generated/NetworkCloudClusterData.Serialization.cs |
New Kind serialization |
src/Generated/NetworkCloudBareMetalMachineData.Serialization.cs |
New BmcIPv4Address/BmcIPv6Address serialization |
src/Generated/Models/RuntimeProtection*.cs |
Made public, added DefinitionUpdateMode and agent status fields |
src/Generated/Models/AccessBridge*.cs (new) |
New AccessBridge resource models and enums |
src/Generated/Models/KubernetesVersion*.cs (new) |
New KubernetesVersion resource models |
src/Generated/Models/DeploymentType.cs (new) |
New DeploymentType enum |
src/Generated/Models/ClusterInspect*.cs (new) |
New cluster inspect models |
src/Generated/Models/SecurityRuleDirection.cs (new) |
New security rule direction enum |
src/Generated/Models/TransportProtocol.cs (new) |
New transport protocol enum |
src/Generated/Models/AzureResourceManagerNetworkCloudContext.cs |
New model registrations |
src/Generated/Extensions/MockableNetworkCloudArmClient.cs |
New resource getters |
src/Generated/LongRunningOperation/*.cs (new) |
New LRO sources for AccessBridge and KubernetesVersion |
src/Generated/AccessBridgeResource.Serialization.cs (new) |
AccessBridge resource serialization |
src/Generated/KubernetesVersionResource.Serialization.cs (new) |
KubernetesVersion resource serialization |
src/Generated/Models/NetworkCloudClusterPatch.cs |
RuntimeProtectionConfiguration now public |
src/Custom/NetworkCloudClusterPatch.cs (new) |
Backward-compat shim for RuntimeProtectionEnforcementLevel |
src/Custom/NetworkCloudClusterData.cs (new) |
Backward-compat shim for RuntimeProtectionEnforcementLevel |
tests/Generated/Samples/*.cs (16 files) |
Example definition paths updated to new API version |
You can also share your feedback on Copilot code review. Take the survey.
...etworkcloud/Azure.ResourceManager.NetworkCloud/src/Generated/Models/SecurityRuleDirection.cs
Show resolved
Hide resolved
4 tasks
Contributor
|
@nafizhaider32 I've opened a new pull request, #56810, to work on those changes. Once the pull request is ready, I'll request review from you. |
API Change CheckAPIView identified API level changes in this PR and created the following API reviews |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.