Skip to content

Commit

Permalink
add or modify files
Browse files Browse the repository at this point in the history
  • Loading branch information
aim-for-better committed Jul 28, 2023
1 parent ab1a772 commit 7bb0703
Show file tree
Hide file tree
Showing 25 changed files with 5,270 additions and 188 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,335 @@
{
"parameters": {
"subscriptionId": "10e32bab-26da-4cc4-a441-52b318f824e6",
"resourceGroupName": "hiloResourcegroup",
"api-version": "2023-06-01-preview",
"clusterPoolName": "clusterpool1",
"clusterName": "cluster1",
"HDInsightCluster": {
"location": "West US 2",
"properties": {
"clusterType": "kafka",
"computeProfile": {
"nodes": [
{
"type": "worker",
"vmSize": "Standard_D3_v2",
"count": 4
}
]
},
"clusterProfile": {
"clusterVersion": "1.0.1",
"ossVersion": "2.4.1",
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
"msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441"
},
"authorizationProfile": {
"userIds": [
"testuser1",
"testuser2"
]
},
"kafkaProfile": {},
"sshProfile": {
"count": 2
},
"autoscaleProfile": {
"enabled": true,
"autoscaleType": "ScheduleBased",
"gracefulDecommissionTimeout": 3600,
"scheduleBasedConfig": {
"defaultCount": 10,
"timeZone": "Cen. Australia Standard Time",
"schedules": [
{
"days": [
"Monday"
],
"startTime": "00:00",
"endTime": "12:00",
"count": 20
},
{
"days": [
"Sunday"
],
"startTime": "00:00",
"endTime": "12:00",
"count": 25
}
]
},
"loadBasedConfig": {
"minNodes": 10,
"maxNodes": 20,
"pollInterval": 60,
"cooldownPeriod": 300,
"scalingRules": [
{
"actionType": "scaleup",
"evaluationCount": 3,
"scalingMetric": "cpu",
"comparisonRule": {
"operator": "greaterThan",
"threshold": 90
}
},
{
"actionType": "scaledown",
"evaluationCount": 3,
"scalingMetric": "cpu",
"comparisonRule": {
"operator": "lessThan",
"threshold": 20
}
}
]
}
}
}
}
}
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1",
"name": "cluster1",
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Succeeded",
"clusterType": "kafka",
"deploymentId": "45cd32aead6e4a91b079a0cdbfac8c36",
"computeProfile": {
"nodes": [
{
"type": "worker",
"vmSize": "Standard_D3_v2",
"count": 4
}
]
},
"clusterProfile": {
"clusterVersion": "1.0.1",
"ossVersion": "2.4.1",
"components": [
{
"name": "Hive",
"version": "2.4.1"
}
],
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
"msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441"
},
"authorizationProfile": {
"userIds": [
"testuser1",
"testuser2"
]
},
"connectivityProfile": {
"web": {
"fqdn": "cluster1.clusterpool1.westus2.projecthilo.net"
},
"ssh": [
{
"endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0"
},
{
"endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1"
}
]
},
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
},
"autoscaleProfile": {
"enabled": true,
"autoscaleType": "ScheduleBased",
"gracefulDecommissionTimeout": 3600,
"scheduleBasedConfig": {
"defaultCount": 10,
"timeZone": "Cen. Australia Standard Time",
"schedules": [
{
"days": [
"Monday"
],
"startTime": "00:00",
"endTime": "12:00",
"count": 20
},
{
"days": [
"Sunday"
],
"startTime": "00:00",
"endTime": "12:00",
"count": 25
}
]
},
"loadBasedConfig": {
"minNodes": 10,
"maxNodes": 20,
"pollInterval": 60,
"cooldownPeriod": 300,
"scalingRules": [
{
"actionType": "scaleup",
"evaluationCount": 3,
"scalingMetric": "cpu",
"comparisonRule": {
"operator": "greaterThan",
"threshold": 90
}
},
{
"actionType": "scaledown",
"evaluationCount": 3,
"scalingMetric": "cpu",
"comparisonRule": {
"operator": "lessThan",
"threshold": 20
}
}
]
}
}
}
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
},
"location": "West US 2"
}
},
"201": {
"body": {
"id": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.HDInsight/clusterPools/clusterpool1/clusters/cluster1",
"name": "cluster1",
"type": "Microsoft.HDInsight/clusterPools/clusters",
"properties": {
"provisioningState": "Accepted",
"clusterType": "kafka",
"computeProfile": {
"nodes": [
{
"type": "worker",
"vmSize": "Standard_D3_v2",
"count": 4
}
]
},
"clusterProfile": {
"clusterVersion": "1.0.1",
"ossVersion": "2.4.1",
"identityProfile": {
"msiResourceId": "/subscriptions/subid/resourceGroups/hiloResourcegroup/providers/Microsoft.ManagedIdentity/userAssignedIdentities/test-msi",
"msiClientId": "de91f1d8-767f-460a-ac11-3cf103f74b34",
"msiObjectId": "40491351-c240-4042-91e0-f644a1d2b441"
},
"authorizationProfile": {
"userIds": [
"testuser1",
"testuser2"
]
},
"connectivityProfile": {
"web": {
"fqdn": "cluster1.clusterpool1.westus2.projecthilo.net"
},
"ssh": [
{
"endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-0"
},
{
"endpoint": "cluster1.clusterpool1.westus2.projecthilo.net/ssh/host/sshnode-1"
}
]
},
"kafkaProfile": {},
"sshProfile": {
"count": 2,
"podPrefix": "sshnode"
},
"autoscaleProfile": {
"enabled": true,
"autoscaleType": "ScheduleBased",
"gracefulDecommissionTimeout": 3600,
"scheduleBasedConfig": {
"defaultCount": 10,
"timeZone": "Cen. Australia Standard Time",
"schedules": [
{
"days": [
"Monday"
],
"startTime": "00:00",
"endTime": "12:00",
"count": 20
},
{
"days": [
"Sunday"
],
"startTime": "00:00",
"endTime": "12:00",
"count": 25
}
]
},
"loadBasedConfig": {
"minNodes": 10,
"maxNodes": 20,
"pollInterval": 60,
"cooldownPeriod": 300,
"scalingRules": [
{
"actionType": "scaleup",
"evaluationCount": 3,
"scalingMetric": "cpu",
"comparisonRule": {
"operator": "greaterThan",
"threshold": 90
}
},
{
"actionType": "scaledown",
"evaluationCount": 3,
"scalingMetric": "cpu",
"comparisonRule": {
"operator": "lessThan",
"threshold": 20
}
}
]
}
}
}
},
"systemData": {
"createdBy": "string",
"createdByType": "User",
"createdAt": "2020-02-03T01:01:01.1075056Z",
"lastModifiedBy": "string",
"lastModifiedByType": "User",
"lastModifiedAt": "2020-02-04T02:03:01.1974346Z"
},
"location": "West US 2"
}
}
}
}
Loading

0 comments on commit 7bb0703

Please sign in to comment.