-
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 CreateFromJson POST operation to ScaleUnit (#5844)
* Add CreateFromJson POST operation to ScaleUnit * Fix few minor review comments from Marta * Add missing DeploymentJsonPhysicalNodeParameters definition * Resolve code review commments. Fix IP address and put back clustername in the sample
- Loading branch information
1 parent
85ca88d
commit c36f370
Showing
2 changed files
with
170 additions
and
3 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
34 changes: 34 additions & 0 deletions
34
...r/fabric/Microsoft.Fabric.Admin/preview/2016-05-01/examples/ScaleUnit/CreateFromJson.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,34 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2016-05-01", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"resourceGroupName": "System.local", | ||
"location": "local", | ||
"scaleUnit": "cluster", | ||
"creationData": { | ||
"clusterName": "cluster", | ||
"physicalNodes": [{ | ||
"name": "machine", | ||
"bmcIPAddress": "192.0.0.1" | ||
}], | ||
"torSwitchBgpAsn": "64703", | ||
"softwareBgpAsn": "64703", | ||
"torSwitchBgpPeerIp": [ | ||
"10.0.0.1" | ||
], | ||
"InfrastructureNetwork": { | ||
"Subnet": ["10.0.0.1/24"], | ||
"VlanId": ["0"] | ||
}, | ||
"StorageNetwork": { | ||
"Subnet": ["10.0.0.1/24"], | ||
"VlanId": ["0"] | ||
}, | ||
"NetQosPriority": 1 | ||
} | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {} | ||
} | ||
} |