-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a new resource workload for hpcworkbench resource provider (#4625
) * Added new resource workload * Updated consortium tags and definitions * Resolved pr comments * Updated sku definition * updated workload properties * fixed validation error * Fixed consortium properties * Added cli access type in consortium * fixed consortium.json * Resolved comments * Fixed validation error * Removed location from examples * fixed model validation error * Removed List by ResourceGroup and List by Subscription for workload
- Loading branch information
1 parent
c0568ea
commit 9498354
Showing
9 changed files
with
815 additions
and
185 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
45 changes: 45 additions & 0 deletions
45
...er/Microsoft.HpcWorkbench/preview/2021-03-01-preview/examples/WorkloadCreateOrUpdate.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,45 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "d9f252e3-8046-4707-bfbd-e5b9e6011e07", | ||
"resourceGroup": "resourceGroup", | ||
"api-version": "2021-03-01-preview", | ||
"instanceName": "test-instance", | ||
"chamberName": "test-chamber", | ||
"workloadName": "test-workload", | ||
"workload": { | ||
"properties": { | ||
"location": "Central US", | ||
"properties": { | ||
"vmSize": "Standard_HC44rs", | ||
"edaType": "Common" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "test-workload", | ||
"id": "/subscriptions/d9f252e3-8046-4707-bfbd-e5b9e6011e07/resourceGroups/resourceGroup/providers/Microsoft.HpcWorkbench/instances/test-instance/chambers/test-chamber/workloads/test-workload", | ||
"type": "Microsoft.HpcWorkbench/instances/chambers/workloads", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"vmSize": "Standard_D4d_v4", | ||
"edaType": "Common" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"name": "test-workload", | ||
"id": "/subscriptions/d9f252e3-8046-4707-bfbd-e5b9e6011e07/resourceGroups/resourceGroup/providers/Microsoft.HpcWorkbench/instances/test-instance/chambers/test-chamber/workloads/test-workload", | ||
"type": "Microsoft.HpcWorkbench/instances/chambers/workloads", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"vmSize": "Standard_D4d_v4", | ||
"edaType": "Common" | ||
} | ||
} | ||
} | ||
} | ||
} |
16 changes: 16 additions & 0 deletions
16
...ce-manager/Microsoft.HpcWorkbench/preview/2021-03-01-preview/examples/WorkloadDelete.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,16 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "d9f252e3-8046-4707-bfbd-e5b9e6011e07", | ||
"resourceGroup": "resourceGroup", | ||
"api-version": "2021-03-01-preview", | ||
"instanceName": "test-instance", | ||
"chamberName": "test-chamber", | ||
"workloadName": "test-workload" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
}, | ||
"204": {} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...ource-manager/Microsoft.HpcWorkbench/preview/2021-03-01-preview/examples/WorkloadGet.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "d9f252e3-8046-4707-bfbd-e5b9e6011e07", | ||
"resourceGroup": "resourceGroup", | ||
"api-version": "2021-03-01-preview", | ||
"instanceName": "test-instance", | ||
"chamberName": "test-chamber", | ||
"workloadName": "test-workload" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "test-workload", | ||
"id": "/subscriptions/d9f252e3-8046-4707-bfbd-e5b9e6011e07/resourceGroups/resourceGroup/providers/Microsoft.HpcWorkbench/instances/test-instance/chambers/test-chamber/workloads/test-workload", | ||
"type": "Microsoft.HpcWorkbench/instances/chambers/workloads", | ||
"properties": { | ||
"provisioningState": "Succeeded", | ||
"vmSize": "Standard_D4d_v4", | ||
"edaType": "Common" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.