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.
[HDInsight] JEDI: Support compute isolation (Azure#12068)
* Add networkProperties and clusterId * Add compute isolation property Co-authored-by: Zhenyu Zhou <zhezhou@microsoft.com>
- Loading branch information
1 parent
ceb51b5
commit d108aa1
Showing
2 changed files
with
173 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
149 changes: 149 additions & 0 deletions
149
...ble/2018-06-01-preview/examples/CreateHDInsightClusterWithComputeIsolationProperties.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,149 @@ | ||
{ | ||
"parameters": { | ||
"clusterName": "cluster1", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2018-06-01-preview", | ||
"subscriptionId": "subId", | ||
"parameters": { | ||
"properties": { | ||
"clusterVersion": "3.6", | ||
"osType": "Linux", | ||
"clusterDefinition": { | ||
"kind": "hadoop", | ||
"configurations": { | ||
"gateway": { | ||
"restAuthCredential.isEnabled": true, | ||
"restAuthCredential.username": "admin", | ||
"restAuthCredential.password": "**********" | ||
} | ||
} | ||
}, | ||
"storageProfile": { | ||
"storageaccounts": [ | ||
{ | ||
"name": "mystorage", | ||
"isDefault": true, | ||
"container": "containername", | ||
"key": "storage account key" | ||
} | ||
] | ||
}, | ||
"computeProfile": { | ||
"roles": [ | ||
{ | ||
"name": "headnode", | ||
"targetInstanceCount": 2, | ||
"hardwareProfile": { | ||
"vmSize": "standard_d3" | ||
}, | ||
"osProfile": { | ||
"linuxOperatingSystemProfile": { | ||
"username": "sshuser", | ||
"password": "**********", | ||
"sshProfile": { | ||
"publicKeys": [ | ||
{ | ||
"certificateData": "**********" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "workernode", | ||
"targetInstanceCount": 2, | ||
"hardwareProfile": { | ||
"vmSize": "standard_d3" | ||
}, | ||
"osProfile": { | ||
"linuxOperatingSystemProfile": { | ||
"username": "sshuser", | ||
"password": "**********", | ||
"sshProfile": { | ||
"publicKeys": [ | ||
{ | ||
"certificateData": "**********" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"computeIsolationProperties": { | ||
"enableComputeIsolation": true, | ||
"hostSku": null | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": { | ||
"location": "https://management.azure.com/subscriptions/subid/providers/Microsoft.HDInsight/pathToOperationResult" | ||
}, | ||
"body": { | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1", | ||
"name": "cluster1", | ||
"type": "Microsoft.HDInsight/clusters", | ||
"location": "South Central US", | ||
"etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff", | ||
"tags": null, | ||
"properties": { | ||
"clusterVersion": "3.6.1000.67", | ||
"osType": "Linux", | ||
"clusterId": "8186508b6234470e9d16c9e8e13bd821", | ||
"clusterDefinition": { | ||
"blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2005040905.json", | ||
"kind": "hadoop" | ||
}, | ||
"computeProfile": { | ||
"roles": [ | ||
{ | ||
"name": "headnode", | ||
"targetInstanceCount": 2, | ||
"hardwareProfile": { | ||
"vmSize": "standard_d3" | ||
}, | ||
"osProfile": { | ||
"linuxOperatingSystemProfile": { | ||
"username": "sshuser" | ||
} | ||
}, | ||
"virtualNetworkProfile": { | ||
"id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname", | ||
"subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet" | ||
} | ||
}, | ||
{ | ||
"name": "workernode", | ||
"targetInstanceCount": 2, | ||
"hardwareProfile": { | ||
"vmSize": "standard_d3" | ||
}, | ||
"osProfile": { | ||
"linuxOperatingSystemProfile": { | ||
"username": "sshuser" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"computeIsolationProperties": { | ||
"enableComputeIsolation": true, | ||
"hostSku": null | ||
}, | ||
"provisioningState": "Succeeded", | ||
"clusterState": "Running", | ||
"createdDate": "2020-06-09T12:25:43.48", | ||
"quotaInfo": { | ||
"coresUsed": 16 | ||
}, | ||
"tier": "Standard" | ||
} | ||
} | ||
} | ||
} | ||
} |