Microsoft.HDInsight clusterpools 2023-11-01-preview
Bicep resource definition
The clusterpools resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.HDInsight/clusterpools resource, add the following Bicep to your template.
resource symbolicname 'Microsoft.HDInsight/clusterpools@2023-11-01-preview' = {
location: 'string'
name: 'string'
properties: {
clusterPoolProfile: {
clusterPoolVersion: 'string'
}
computeProfile: {
vmSize: 'string'
}
logAnalyticsProfile: {
enabled: bool
workspaceId: 'string'
}
managedResourceGroupName: 'string'
networkProfile: {
apiServerAuthorizedIpRanges: [
'string'
]
enablePrivateApiServer: bool
outboundType: 'string'
subnetId: 'string'
}
}
tags: {
{customized property}: 'string'
}
}
Property values
ClusterPoolResourceProperties
Name | Description | Value |
---|---|---|
clusterPoolProfile | CLuster pool profile. | ClusterPoolResourcePropertiesClusterPoolProfile |
computeProfile | CLuster pool compute profile. | ClusterPoolResourcePropertiesComputeProfile (required) |
logAnalyticsProfile | Cluster pool log analytics profile to enable OMS agent for AKS cluster. | ClusterPoolResourcePropertiesLogAnalyticsProfile |
managedResourceGroupName | A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}{clusterPoolName}{region}. Please make sure it meets resource group name restriction. | string Constraints: Min length = 1 Max length = 1 |
networkProfile | Cluster pool network profile. | ClusterPoolResourcePropertiesNetworkProfile |
ClusterPoolResourcePropertiesClusterPoolProfile
Name | Description | Value |
---|---|---|
clusterPoolVersion | Cluster pool version is a 2-part version. | string Constraints: Pattern = ^(0|[1-9][0-9]{0,18})\.(0|[1-9][0-9]{0,18})$ (required) |
ClusterPoolResourcePropertiesComputeProfile
Name | Description | Value |
---|---|---|
vmSize | The virtual machine SKU. | string Constraints: Pattern = ^[a-zA-Z0-9_\-]{0,256}$ (required) |
ClusterPoolResourcePropertiesLogAnalyticsProfile
Name | Description | Value |
---|---|---|
enabled | True if log analytics is enabled for cluster pool, otherwise false. | bool (required) |
workspaceId | Log analytics workspace to associate with the OMS agent. | string |
ClusterPoolResourcePropertiesNetworkProfile
Name | Description | Value |
---|---|---|
apiServerAuthorizedIpRanges | IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. Currently, this property is not supported and please don't use it. | string[] |
enablePrivateApiServer | ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. | bool |
outboundType | This can only be set at cluster pool creation time and cannot be changed later. | 'loadBalancer' 'userDefinedRouting' |
subnetId | Cluster pool subnet resource id. | string (required) |
Microsoft.HDInsight/clusterpools
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | Gets or sets the properties. Define cluster pool specific properties. | ClusterPoolResourceProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
TrackedResourceTags
Name | Description | Value |
---|
ARM template resource definition
The clusterpools resource type can be deployed with operations that target:
- Resource groups - See resource group deployment commands
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.HDInsight/clusterpools resource, add the following JSON to your template.
{
"type": "Microsoft.HDInsight/clusterpools",
"apiVersion": "2023-11-01-preview",
"name": "string",
"location": "string",
"properties": {
"clusterPoolProfile": {
"clusterPoolVersion": "string"
},
"computeProfile": {
"vmSize": "string"
},
"logAnalyticsProfile": {
"enabled": "bool",
"workspaceId": "string"
},
"managedResourceGroupName": "string",
"networkProfile": {
"apiServerAuthorizedIpRanges": [ "string" ],
"enablePrivateApiServer": "bool",
"outboundType": "string",
"subnetId": "string"
}
},
"tags": {
"{customized property}": "string"
}
}
Property values
ClusterPoolResourceProperties
Name | Description | Value |
---|---|---|
clusterPoolProfile | CLuster pool profile. | ClusterPoolResourcePropertiesClusterPoolProfile |
computeProfile | CLuster pool compute profile. | ClusterPoolResourcePropertiesComputeProfile (required) |
logAnalyticsProfile | Cluster pool log analytics profile to enable OMS agent for AKS cluster. | ClusterPoolResourcePropertiesLogAnalyticsProfile |
managedResourceGroupName | A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}{clusterPoolName}{region}. Please make sure it meets resource group name restriction. | string Constraints: Min length = 1 Max length = 1 |
networkProfile | Cluster pool network profile. | ClusterPoolResourcePropertiesNetworkProfile |
ClusterPoolResourcePropertiesClusterPoolProfile
Name | Description | Value |
---|---|---|
clusterPoolVersion | Cluster pool version is a 2-part version. | string Constraints: Pattern = ^(0|[1-9][0-9]{0,18})\.(0|[1-9][0-9]{0,18})$ (required) |
ClusterPoolResourcePropertiesComputeProfile
Name | Description | Value |
---|---|---|
vmSize | The virtual machine SKU. | string Constraints: Pattern = ^[a-zA-Z0-9_\-]{0,256}$ (required) |
ClusterPoolResourcePropertiesLogAnalyticsProfile
Name | Description | Value |
---|---|---|
enabled | True if log analytics is enabled for cluster pool, otherwise false. | bool (required) |
workspaceId | Log analytics workspace to associate with the OMS agent. | string |
ClusterPoolResourcePropertiesNetworkProfile
Name | Description | Value |
---|---|---|
apiServerAuthorizedIpRanges | IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. Currently, this property is not supported and please don't use it. | string[] |
enablePrivateApiServer | ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. | bool |
outboundType | This can only be set at cluster pool creation time and cannot be changed later. | 'loadBalancer' 'userDefinedRouting' |
subnetId | Cluster pool subnet resource id. | string (required) |
Microsoft.HDInsight/clusterpools
Name | Description | Value |
---|---|---|
apiVersion | The api version | '2023-11-01-preview' |
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | Gets or sets the properties. Define cluster pool specific properties. | ClusterPoolResourceProperties |
tags | Resource tags | Dictionary of tag names and values. See Tags in templates |
type | The resource type | 'Microsoft.HDInsight/clusterpools' |
TrackedResourceTags
Name | Description | Value |
---|
Terraform (AzAPI provider) resource definition
The clusterpools resource type can be deployed with operations that target:
- Resource groups
For a list of changed properties in each API version, see change log.
Resource format
To create a Microsoft.HDInsight/clusterpools resource, add the following Terraform to your template.
resource "azapi_resource" "symbolicname" {
type = "Microsoft.HDInsight/clusterpools@2023-11-01-preview"
name = "string"
location = "string"
tags = {
{customized property} = "string"
}
body = jsonencode({
properties = {
clusterPoolProfile = {
clusterPoolVersion = "string"
}
computeProfile = {
vmSize = "string"
}
logAnalyticsProfile = {
enabled = bool
workspaceId = "string"
}
managedResourceGroupName = "string"
networkProfile = {
apiServerAuthorizedIpRanges = [
"string"
]
enablePrivateApiServer = bool
outboundType = "string"
subnetId = "string"
}
}
})
}
Property values
ClusterPoolResourceProperties
Name | Description | Value |
---|---|---|
clusterPoolProfile | CLuster pool profile. | ClusterPoolResourcePropertiesClusterPoolProfile |
computeProfile | CLuster pool compute profile. | ClusterPoolResourcePropertiesComputeProfile (required) |
logAnalyticsProfile | Cluster pool log analytics profile to enable OMS agent for AKS cluster. | ClusterPoolResourcePropertiesLogAnalyticsProfile |
managedResourceGroupName | A resource group created by RP, to hold the resources created by RP on-behalf of customers. It will also be used to generate aksManagedResourceGroupName by pattern: MC_{managedResourceGroupName}{clusterPoolName}{region}. Please make sure it meets resource group name restriction. | string Constraints: Min length = 1 Max length = 1 |
networkProfile | Cluster pool network profile. | ClusterPoolResourcePropertiesNetworkProfile |
ClusterPoolResourcePropertiesClusterPoolProfile
Name | Description | Value |
---|---|---|
clusterPoolVersion | Cluster pool version is a 2-part version. | string Constraints: Pattern = ^(0|[1-9][0-9]{0,18})\.(0|[1-9][0-9]{0,18})$ (required) |
ClusterPoolResourcePropertiesComputeProfile
Name | Description | Value |
---|---|---|
vmSize | The virtual machine SKU. | string Constraints: Pattern = ^[a-zA-Z0-9_\-]{0,256}$ (required) |
ClusterPoolResourcePropertiesLogAnalyticsProfile
Name | Description | Value |
---|---|---|
enabled | True if log analytics is enabled for cluster pool, otherwise false. | bool (required) |
workspaceId | Log analytics workspace to associate with the OMS agent. | string |
ClusterPoolResourcePropertiesNetworkProfile
Name | Description | Value |
---|---|---|
apiServerAuthorizedIpRanges | IP ranges are specified in CIDR format, e.g. 137.117.106.88/29. This feature is not compatible with private AKS clusters. So you cannot set enablePrivateApiServer to true and apiServerAuthorizedIpRanges at the same time. Currently, this property is not supported and please don't use it. | string[] |
enablePrivateApiServer | ClusterPool is based on AKS cluster. AKS cluster exposes the API server to public internet by default. If you set this property to true, a private AKS cluster will be created, and it will use private apiserver, which is not exposed to public internet. | bool |
outboundType | This can only be set at cluster pool creation time and cannot be changed later. | 'loadBalancer' 'userDefinedRouting' |
subnetId | Cluster pool subnet resource id. | string (required) |
Microsoft.HDInsight/clusterpools
Name | Description | Value |
---|---|---|
location | The geo-location where the resource lives | string (required) |
name | The resource name | string (required) |
properties | Gets or sets the properties. Define cluster pool specific properties. | ClusterPoolResourceProperties |
tags | Resource tags | Dictionary of tag names and values. |
type | The resource type | "Microsoft.HDInsight/clusterpools@2023-11-01-preview" |
TrackedResourceTags
Name | Description | Value |
---|