Skip to content
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

Add missing properties for Vmss zone GA #2445

Merged
merged 1 commit into from
Feb 9, 2018

Conversation

wangjun198389
Copy link

@wangjun198389 wangjun198389 commented Feb 7, 2018

Updated compute spec to include missing properties zoneBalance and platformFaultDomainCount in VirtualMachineScaleSetProperties. We are using 2017-12-01 api version which is zone GA version. Both properties are immutable and optional. These properties are only for zone scenario, which is in public preview now.

@azuresdkciprbot
Copy link

Hi There,

I am the AutoRest Linter Azure bot. I am here to help. My task is to analyze the situation from the AutoRest linter perspective. Please review the below analysis result:

File: specification/compute/resource-manager/readme.md
Before the PR: Warning(s): 0 Error(s): 39
After the PR: Warning(s): 0 Error(s): 39

AutoRest Linter Guidelines | AutoRest Linter Issues | Send feedback

Thanks for your co-operation.

@AutorestCI
Copy link

Swagger to SDK encountered a Subprocess error: (Azure/azure-sdk-for-go)

Command: profileBuilder -s preview -name preview
Finished with return code 127
and output:

/bin/sh: 1: profileBuilder: not found

@anuchandy anuchandy added the WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required label Feb 8, 2018
},
"zoneBalance": {
"type": "boolean",
"description": "Whether to force stictly even Virtual Machine distribution cross x-zones in case there is zone outage."
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is x-zones some domain specific name?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Somehow. "x-zones" or "zones redundant" or "cross zones" VMScaleSet.

@anuchandy
Copy link
Member

@wangjun198389 you mentioned these are immutable properties, do you mean they are readonly if so please mark so. Or you mean they can set only once and cannot be changed later?

@wangjun198389
Copy link
Author

@anuchandy Those new properties can set only once when creating, cannot be changed later.

@anuchandy
Copy link
Member

@wangjun198389 sounds good, just one more question from my side - let's say we generate SDK from this PR ClientNew and used it to set these two properties as part of creation of resource1, suppose somebody is using current version of SDK say ClientOld (generated from the same api version spec in master) to do a PUT (update) on resource1, since these two properties does not exists in the model, payload will not contain them. In this case how server behaves? does it throw error?

@wangjun198389
Copy link
Author

@anuchandy old client can put(update) successfully. Server side treat it as no change for these two new properties.

@anuchandy
Copy link
Member

@wangjun198389 thanks. @ravbhatnagar looks good from SDK side, any comments from ARM side?

@ravbhatnagar
Copy link
Contributor

new properties typically require a new api-version. but based on above comments, these properties are immutable. So its fine. Signing off!

@ravbhatnagar ravbhatnagar added ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review and removed WaitForARMFeedback <valid label in PR review process> add this label when ARM review is required labels Feb 9, 2018
@anuchandy anuchandy merged commit 4a7425d into Azure:master Feb 9, 2018
@AutorestCI
Copy link

AutorestCI commented Feb 9, 2018

Automation for azure-sdk-for-python

A PR has been created for you:
Azure/azure-sdk-for-python#1949

@AutorestCI
Copy link

AutorestCI commented Feb 9, 2018

Automation for azure-sdk-for-go

Swagger to SDK encountered a Subprocess error: (azure-sdk-for-go)

Command: profileBuilder -s list -l ./profiles/2017-03-09/defintion.txt -name 2017-03-09
Finished with return code 127
and output:

/bin/sh: 1: profileBuilder: not found

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ARMSignedOff <valid label in PR review process>add this label when ARM approve updates after review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants