Update ACI API version to 2021-10-01 #17837
Closed
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.
This PR updates ACI API version to 2021-10-01.
There is a breaking change in this update: the network profile was removed beginning in API version 2021-07-01 and is a breaking change. With the newer API versions, customers can now specify their subnet ID directly instead of creating the network profile as an intermediary for holding the subnet ID. The new usage satisfies VNET consistency requirements across Azure. This deprecation is also mentioned in the Azure document: https://docs.microsoft.com/en-us/azure/container-instances/container-instances-vnet.
In short, customers using network profiles can continue to use API version 2021-03-01 and below with full support for network profiles. For later versions, customers should use the new subnet ID property.
NOTE: Though the
subnetIds
is a list ofsubnetId
s, while currently the service only support onesubnetId
.Test