-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
azurerm_batch_pool
- support node_deallocation_method dynamic_vnet_assignment_scope source_port_ranges
#18436
Conversation
These are the last missing properties in batch_pool, hope we could get it merged soon :) |
@@ -83,6 +84,19 @@ func resourceBatchPool() *pluginsdk.Resource { | |||
MaxItems: 1, | |||
Elem: &pluginsdk.Resource{ | |||
Schema: map[string]*pluginsdk.Schema{ | |||
// Property `node_deallocation_option` is set to be a writeOnly property by service team | |||
// It can only perform on PUT operation and is not able to perform GET operation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems like an API bug?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have consult with service team about this, they said this is by design a write only property and they are not going to change this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems like a weird choice but is what it is, we have an open issue to discuss that so not a blocker
I think we need additional discussion about |
Azure/azure-rest-api-specs#20948 Property |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🌵
@@ -83,6 +84,19 @@ func resourceBatchPool() *pluginsdk.Resource { | |||
MaxItems: 1, | |||
Elem: &pluginsdk.Resource{ | |||
Schema: map[string]*pluginsdk.Schema{ | |||
// Property `node_deallocation_option` is set to be a writeOnly property by service team | |||
// It can only perform on PUT operation and is not able to perform GET operation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems like a weird choice but is what it is, we have an open issue to discuss that so not a blocker
azurerm_batch_pool
- support four new properties.azurerm_batch_pool
- support node_deallocation_method dynamic_vnet_assignment_scope source_port_ranges
This functionality has been released in v3.26.0 of the Terraform Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active contributions. |
Newly support properties:
source_port_ranges
dynamic_vnet_assignment_scope
node_deallocation_method
containter_settings
Update doc accrodingly.