-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add supportedCapabilities in SnapshotUpdateProperties model (#16768)
* Add supportedCapabilities in SnapshotUpdateProperties model * Add an example for update acceleratedNetwork on snapshots * Fix example model * clean up
- Loading branch information
Showing
2 changed files
with
74 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
67 changes: 67 additions & 0 deletions
67
...r/Microsoft.Compute/stable/2021-08-01/examples/UpdateASnapshotWithAcceleratedNetwork.json
This file contains 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,67 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "myResourceGroup", | ||
"snapshotName": "mySnapshot", | ||
"api-version": "2021-08-01", | ||
"snapshot": { | ||
"properties": { | ||
"diskSizeGB": 20, | ||
"supportedCapabilities": { | ||
"acceleratedNetwork": false | ||
} | ||
}, | ||
"tags": { | ||
"department": "Development", | ||
"project": "UpdateSnapshots" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"202": { | ||
"headers": { | ||
"Location": "https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot?api-version=2021-04-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Copy", | ||
"sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1" | ||
}, | ||
"supportedCapabilities": { | ||
"acceleratedNetwork": false | ||
}, | ||
"diskSizeGB": 20, | ||
"provisioningState": "Updating" | ||
}, | ||
"tags": { | ||
"department": "Development", | ||
"project": "UpdateSnapshots" | ||
}, | ||
"location": "West US", | ||
"name": "mySnapshot" | ||
} | ||
}, | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"creationData": { | ||
"createOption": "Copy", | ||
"sourceResourceId": "subscriptions/{subscription-id}/resourceGroups/myResourceGroup/providers/Microsoft.Compute/snapshots/mySnapshot1" | ||
}, | ||
"supportedCapabilities": { | ||
"acceleratedNetwork": false | ||
}, | ||
"diskSizeGB": 20, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"tags": { | ||
"department": "Development", | ||
"project": "UpdateSnapshots" | ||
}, | ||
"location": "West US", | ||
"name": "mySnapshot" | ||
} | ||
} | ||
} | ||
} |