-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Add extension API for VMScaleset VMs #7407
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
df09731
add extension Api
sadoddai 68c9797
change operationID
sadoddai 91866ec
update description
sadoddai 6433958
update description
sadoddai 147ff5e
add examples
sadoddai 3937e33
add missing /
sadoddai 9231019
add missing / in examples
sadoddai 508d95f
add new line
sadoddai f577182
remove unnecessary file
sadoddai afceb3f
add reference examples
sadoddai f73a4aa
fix model validation failures
sadoddai 4593a4f
remove provisioning state from params
sadoddai 6e2d4bd
remove unnecessary param
sadoddai a65ea6a
fix Delete example
sadoddai File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
54 changes: 54 additions & 0 deletions
54
....Compute/stable/2019-07-01/examples/CreateOrUpdateVirtualMachineScaleSetVMExtensions.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,54 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "vmScaleSetName": "myvmScaleSet", | ||
| "instanceId": "0", | ||
| "vmExtensionName":"myVMExtension", | ||
| "api-version": "2019-07-01", | ||
| "extensionParameters": { | ||
| "location": "westus", | ||
| "properties": { | ||
| "autoUpgradeMinorVersion": true, | ||
| "publisher": "extPublisher", | ||
| "type": "extType", | ||
| "typeHandlerVersion": "1.2", | ||
| "settings": { "UserName": "xyz@microsoft.com" } | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "201": { | ||
| "body": { | ||
| "name": "myVMExtension", | ||
| "location": "westus", | ||
| "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", | ||
| "properties": { | ||
| "autoUpgradeMinorVersion": true, | ||
| "provisioningState": "Creating", | ||
| "publisher": "extPublisher", | ||
| "type": "extType", | ||
| "typeHandlerVersion": "1.2", | ||
| "settings": {"UserName":"xyz@microsoft.com"} | ||
| } | ||
| } | ||
| }, | ||
| "200": { | ||
| "body": { | ||
| "name": "myVMExtension", | ||
| "location": "westus", | ||
| "type":"Microsoft.Compute/virtualMachineScaleSets/virtualMachines/extensions", | ||
| "id": "/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/virtualMachineScaleSets/myvmScaleSet/virtualMachines/0/extensions/myVMExtension", | ||
| "properties": { | ||
| "autoUpgradeMinorVersion": true, | ||
| "provisioningState": "Creating", | ||
| "publisher": "extPublisher", | ||
| "type": "extType", | ||
| "typeHandlerVersion": "1.2", | ||
| "settings": {"UserName":"xyz@microsoft.com"} | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
15 changes: 15 additions & 0 deletions
15
...icrosoft.Compute/stable/2019-07-01/examples/DeleteVirtualMachineScaleSetVMExtensions.json
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,15 @@ | ||
| { | ||
| "parameters": { | ||
| "subscriptionId": "{subscription-id}", | ||
| "resourceGroupName": "myResourceGroup", | ||
| "vmScaleSetName": "myvmScaleSet", | ||
| "instanceId": "0", | ||
| "vmExtensionName":"myVMExtension", | ||
| "api-version": "2019-07-01" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "202": {}, | ||
| "204": {} | ||
| } | ||
| } |
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.