forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Storage Task Assignment Swagger Updates (Azure#29050)
* SDK team improvements * Report APIs contain filtering * PR comment add more examples * Fix example path * Fix duplicate schema issue --------- Co-authored-by: Tricia Rosario <[email protected]>
- Loading branch information
1 parent
f6f50c6
commit 09c187c
Showing
3 changed files
with
93 additions
and
35 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
82 changes: 82 additions & 0 deletions
82
...05-01/examples/storageTaskAssignmentsCrud/PutStorageTaskAssignmentRequiredProperties.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,82 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616", | ||
"resourceGroupName": "res4228", | ||
"accountName": "sto4445", | ||
"storageTaskAssignmentName": "myassignment1", | ||
"api-version": "2023-05-01", | ||
"parameters": { | ||
"properties": { | ||
"taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", | ||
"enabled": true, | ||
"description": "My Storage task assignment", | ||
"executionContext": { | ||
"trigger": { | ||
"type": "RunOnce", | ||
"parameters": { | ||
"startOn": "2022-11-15T21:52:47.8145095Z" | ||
} | ||
} | ||
}, | ||
"report": { | ||
"prefix": "container1" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", | ||
"name": "myassignment1", | ||
"type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", | ||
"properties": { | ||
"taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", | ||
"enabled": true, | ||
"description": "My Storage task assignment", | ||
"executionContext": { | ||
"trigger": { | ||
"type": "RunOnce", | ||
"parameters": { | ||
"startOn": "2022-11-15T21:52:47.8145095Z" | ||
} | ||
} | ||
}, | ||
"report": { | ||
"prefix": "container1" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.Storage/storageAccounts/sto4445/storageTaskAssignments/myassignment1", | ||
"name": "myassignment1", | ||
"type": "Microsoft.Storage/storageAccounts/storageTaskAssignments", | ||
"properties": { | ||
"taskId": "/subscriptions/1f31ba14-ce16-4281-b9b4-3e78da6e1616/resourceGroups/res4228/providers/Microsoft.StorageActions/storageTasks/mytask1", | ||
"enabled": true, | ||
"description": "My Storage task assignment", | ||
"executionContext": { | ||
"trigger": { | ||
"type": "RunOnce", | ||
"parameters": { | ||
"startOn": "2022-11-15T21:52:47.8145095Z" | ||
} | ||
} | ||
}, | ||
"report": { | ||
"prefix": "container1" | ||
}, | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.Storage/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-05-01" | ||
} | ||
} | ||
} | ||
} |
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