-
Notifications
You must be signed in to change notification settings - Fork 4k
Add property State in additional to ProvisioningState #3406
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
Conversation
Hi @shihying, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!
TTYL, AZPRBOT; |
Can one of the admins verify this patch? |
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.
You might have to add a changelog file indicating the nature of the change in this version.
You also have to increment the minor version of the module in the app.config and AnalysisServices.psd1 file.
@@ -95,13 +98,15 @@ function Test-AnalysisServicesServer | |||
Suspend-AzureRmAnalysisServicesServer -ResourceGroupName $resourceGroupName -Name $serverName | |||
[array]$serverGet = Get-AzureRmAnalysisServicesServer -ResourceGroupName $resourceGroupName -Name $serverName | |||
$serverGetItem = $serverGet[0] | |||
Assert-True {$serverGetItem.State -like "Paused"} |
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.
Add a comment saying that this is to ensure backward compatibility. The breaking server changes will be done after this is released.
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.
done.
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.
done
@athipp |
power shell admin : please do not merge until SDK repo merge PR for this chagne |
Ping, thx |
@shihying you must publish your new library and update the nuget package reference for your cmdlets |
@markcowl |
@@ -18,6 +18,8 @@ | |||
- Additional information about change #1 | |||
--> | |||
## Current Release | |||
* Added State property in additional to ProvisioningState |
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.
You need to be more specific about this change. Which cmdlets will be affected, how would the user use the new State property. How is it different than Provinsioning State?
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.
@markcowl , I have added more information about this change.
Currently ASPAAS service still return same for both State and ProvisioningState, we could not tell the user the actual different example until service side make change in future.
I already provided the difference in intention
@markcowl @shahabhijeet |
@azuresdkci add to whitelist |
@shahabhijeet @markcowl ping.... |
@markcowl @shahabhijeet ping |
@shihying If the service is not ready with providing more info for the State property, is there a point in adding this property before the service enables it. |
@shahabhijeet There is no exact plan yet - but I think it must happen in 1month..6months..thanks |
on demand run: http://azuresdkci.cloudapp.net/view/1-AzurePowerShell/job/powershell-demand/1395/ LGTM once the build passes |
Add property State in additional to ProvisioningState
We introduced State as suggested by ARM-Architect to provide more custom state outside of provisioning.
Currently value set for State would be same as ProvisioiningState until service side make further change.
Description
This checklist is used to make sure that common guidelines for a pull request are followed. You can find a more complete discussion of PowerShell cmdlet best practices here.
General Guidelines
Testing Guidelines
Cmdlet Signature Guidelines
ShouldProcess
and haveSupportShouldProcess=true
specified in the cmdlet attribute. You can find more information onShouldProcess
here.OutputType
attribute if any output is produced - if the cmdlet produces no output, it should implement aPassThru
parameter.Cmdlet Parameter Guidelines