Udostępnij przez


Clusters - Create

Tworzy nowy klaster usługi HDInsight z określonymi parametrami.

PUT https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.HDInsight/clusters/{clusterName}?api-version=2021-06-01

Parametry identyfikatora URI

Nazwa W Wymagane Typ Opis
clusterName
path True

string

Nazwa klastra.

resourceGroupName
path True

string

Nazwa grupy zasobów.

subscriptionId
path True

string

Poświadczenia subskrypcji, które jednoznacznie identyfikują subskrypcję platformy Microsoft Azure. Identyfikator subskrypcji stanowi część identyfikatora URI dla każdego wywołania usługi.

api-version
query True

string

Wersja interfejsu API klienta usługi HDInsight.

Treść żądania

Nazwa Typ Opis
identity

ClusterIdentity

Tożsamość klastra, jeśli jest skonfigurowana.

location

string

Lokalizacja klastra.

properties

ClusterCreateProperties

Klaster tworzy parametry.

tags

object

Tagi zasobów.

zones

string[]

Strefy dostępności.

Odpowiedzi

Nazwa Typ Opis
200 OK

Cluster

Definicja odpowiedzi OK.

Other Status Codes

ErrorResponse

Odpowiedź na błąd opisująca, dlaczego operacja nie powiodła się.

Zabezpieczenia

azure_auth

Przepływ protokołu OAuth2 usługi Azure Active Directory

Typ: oauth2
Flow: implicit
Adres URL autoryzacji: https://login.microsoftonline.com/common/oauth2/authorize

Zakresy

Nazwa Opis
user_impersonation personifikacja konta użytkownika

Przykłady

Create cluster with availability zones
Create cluster with compute isolation properties
Create cluster with encryption at host
Create cluster with encryption in transit
Create cluster with network properties
Create cluster with TLS 1.2
Create Hadoop cluster with Azure Data Lake Storage Gen 2
Create Hadoop on Linux cluster with SSH password
Create Hadoop on Linux cluster with SSH public key
Create HDInsight cluster with Autoscale configuration
Create Kafka cluster with Kafka Rest Proxy
Create Secure Hadoop cluster
Create Spark on Linux Cluster with SSH password

Create cluster with availability zones

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "zones": [
    "1"
  ],
  "properties": {
    "clusterVersion": "3.6",
    "osType": "Linux",
    "clusterDefinition": {
      "kind": "hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        },
        "ambari-conf": {
          "database-server": "{sql server name}.database.windows.net",
          "database-name": "{ambari database name}",
          "database-user-name": "**********",
          "database-user-password": "**********"
        },
        "hive-site": {
          "javax.jdo.option.ConnectionURL": "jdbc:sqlserver://{sql server name}.database.windows.net;database={hive metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
          "javax.jdo.option.ConnectionUserName": "**********",
          "javax.jdo.option.ConnectionPassword": "**********!",
          "javax.jdo.option.ConnectionDriverName": "com.microsoft.sqlserver.jdbc.SQLServerDriver"
        },
        "hive-env": {
          "hive_database": "Existing MSSQL Server database with SQL authentication",
          "hive_database_name": "{hive metastore name}",
          "hive_database_type": "mssql",
          "hive_existing_mssql_server_database": "{hive metastore name}",
          "hive_existing_mssql_server_host": "{sql server name}.database.windows.net",
          "hive_hostname": "{sql server name}.database.windows.net"
        },
        "oozie-site": {
          "oozie.service.JPAService.jdbc.url": "jdbc:sqlserver://{sql server name}.database.windows.net;database={oozie metastore name};encrypt=true;trustServerCertificate=true;create=false;loginTimeout=300;sendStringParametersAsUnicode=true;prepareSQL=0",
          "oozie.service.JPAService.jdbc.username": "**********",
          "oozie.service.JPAService.jdbc.password": "**********",
          "oozie.service.JPAService.jdbc.driver": "com.microsoft.sqlserver.jdbc.SQLServerDriver",
          "oozie.db.schema.name": "oozie"
        },
        "oozie-env": {
          "oozie_database": "Existing MSSQL Server database with SQL authentication",
          "oozie_database_name": "{oozie metastore name}",
          "oozie_database_type": "mssql",
          "oozie_existing_mssql_server_database": "{oozie metastore name}",
          "oozie_existing_mssql_server_host": "{sql server name}.database.windows.net",
          "oozie_hostname": "{sql server name}.database.windows.net"
        }
      }
    },
    "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": "**********"
                  }
                ]
              }
            }
          },
          "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",
              "password": "**********",
              "sshProfile": {
                "publicKeys": [
                  {
                    "certificateData": "**********"
                  }
                ]
              }
            }
          },
          "virtualNetworkProfile": {
            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"
          }
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "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,
  "zones": [
    "1"
  ],
  "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"
            }
          },
          "virtualNetworkProfile": {
            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2020-06-09T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 16
    },
    "tier": "Standard"
  }
}

Create cluster with compute isolation properties

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "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
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "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"
  }
}

Create cluster with encryption at host

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "properties": {
    "clusterVersion": "3.6",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "Hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Standard_DS14_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Standard_DS14_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Standard_DS14_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        }
      ]
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "default8525",
          "key": "storagekey"
        }
      ]
    },
    "diskEncryptionProperties": {
      "encryptionAtHost": true
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "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": "3b76ce3d-892c-4036-9d8b-8ade18ba7a4b",
  "tags": null,
  "properties": {
    "clusterVersion": "3.6.1000.67",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2001080246.json",
      "kind": "Hadoop",
      "componentVersion": {
        "Hadoop": "2.7"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_ds14_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_ds14_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_ds14_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2020-01-10T08:36:39.153",
    "quotaInfo": {
      "coresUsed": 20
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard",
    "diskEncryptionProperties": {
      "vaultUri": null,
      "keyName": null,
      "keyVersion": null,
      "encryptionAlgorithm": null,
      "msiResourceId": null,
      "encryptionAtHost": true
    }
  }
}

Create cluster with encryption in transit

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "properties": {
    "clusterVersion": "3.6",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "Hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Large"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Large"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Small"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        }
      ]
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "default8525",
          "key": "storagekey"
        }
      ]
    },
    "encryptionInTransitProperties": {
      "isEncryptionInTransitEnabled": true
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "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": "3b76ce3d-892c-4036-9d8b-8ade18ba7a4b",
  "tags": null,
  "properties": {
    "clusterVersion": "3.6.1000.67",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2001080246.json",
      "kind": "Hadoop",
      "componentVersion": {
        "Hadoop": "2.7"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_a4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2020-01-10T08:36:39.153",
    "quotaInfo": {
      "coresUsed": 20
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard",
    "encryptionInTransitProperties": {
      "isEncryptionInTransitEnabled": true
    }
  }
}

Create cluster with network properties

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subId/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "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": "**********"
                  }
                ]
              }
            }
          },
          "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",
              "password": "**********",
              "sshProfile": {
                "publicKeys": [
                  {
                    "certificateData": "**********"
                  }
                ]
              }
            }
          },
          "virtualNetworkProfile": {
            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"
          }
        }
      ]
    },
    "networkProperties": {
      "resourceProviderConnection": "Outbound",
      "privateLink": "Enabled"
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "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"
            }
          },
          "virtualNetworkProfile": {
            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"
          }
        }
      ]
    },
    "networkProperties": {
      "resourceProviderConnection": "Outbound",
      "privateLink": "Enabled"
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2020-06-09T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 16
    },
    "tier": "Standard"
  }
}

Create cluster with TLS 1.2

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "properties": {
    "clusterVersion": "3.6",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "Hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Large"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Large"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Small"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        }
      ]
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "default8525",
          "key": "storagekey"
        }
      ]
    },
    "minSupportedTlsVersion": "1.2"
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "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": "3b76ce3d-892c-4036-9d8b-8ade18ba7a4b",
  "tags": null,
  "properties": {
    "clusterVersion": "3.6.1000.67",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-3.6.1000.67.2001080246.json",
      "kind": "Hadoop",
      "componentVersion": {
        "Hadoop": "2.7"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_a4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2020-01-10T08:36:39.153",
    "quotaInfo": {
      "coresUsed": 20
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard",
    "minSupportedTlsVersion": "1.2"
  }
}

Create Hadoop cluster with Azure Data Lake Storage Gen 2

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "tags": {
    "key1": "val1"
  },
  "properties": {
    "clusterVersion": "3.6",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "Hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": "true",
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.dfs.core.windows.net",
          "isDefault": true,
          "fileSystem": "default",
          "key": "storagekey"
        }
      ]
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "minInstanceCount": 1,
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "workernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "zookeepernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Small"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
  "name": "cluster1",
  "type": "Microsoft.HDInsight/clusters",
  "location": "East US",
  "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
  "properties": {
    "clusterVersion": "4.0.1000.1",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
      "kind": "HADOOP",
      "componentVersion": {
        "Hadoop": "3.1"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d12_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "standard_d4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2019-11-18T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 40
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard"
  }
}

Create Hadoop on Linux cluster with SSH password

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "tags": {
    "key1": "val1"
  },
  "properties": {
    "clusterVersion": "3.5",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "Hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": "true",
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "containername",
          "key": "storagekey"
        }
      ]
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "minInstanceCount": 1,
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "workernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "zookeepernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Small"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
  "name": "cluster1",
  "type": "Microsoft.HDInsight/clusters",
  "location": "East US",
  "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
  "properties": {
    "clusterVersion": "4.0.1000.1",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
      "kind": "HADOOP",
      "componentVersion": {
        "Hadoop": "3.1"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d12_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "standard_d4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2019-11-18T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 40
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard"
  }
}

Create Hadoop on Linux cluster with SSH public key

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "tags": {
    "key1": "val1"
  },
  "properties": {
    "clusterVersion": "3.5",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "Hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "containername",
          "key": "storagekey"
        }
      ]
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "minInstanceCount": 1,
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "sshProfile": {
                "publicKeys": [
                  {
                    "certificateData": "**********"
                  }
                ]
              }
            }
          }
        },
        {
          "name": "workernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "zookeepernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Small"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
  "name": "cluster1",
  "type": "Microsoft.HDInsight/clusters",
  "location": "East US",
  "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
  "properties": {
    "clusterVersion": "4.0.1000.1",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
      "kind": "HADOOP",
      "componentVersion": {
        "Hadoop": "3.1"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d12_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "standard_d4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2019-11-18T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 40
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard"
  }
}

Create HDInsight cluster with Autoscale configuration

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "properties": {
    "clusterVersion": "3.6",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "hadoop",
      "componentVersion": {
        "Hadoop": "2.7"
      },
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "hdinsight-autoscale-tes-2019-06-18t05-49-16-591z",
          "key": "storagekey"
        }
      ]
    },
    "computeProfile": {
      "roles": [
        {
          "autoscale": {
            "capacity": null,
            "recurrence": {
              "timeZone": "China Standard Time",
              "schedule": [
                {
                  "days": [
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday"
                  ],
                  "timeAndCapacity": {
                    "time": "09:00",
                    "minInstanceCount": 3,
                    "maxInstanceCount": 3
                  }
                },
                {
                  "days": [
                    "Monday",
                    "Tuesday",
                    "Wednesday",
                    "Thursday",
                    "Friday"
                  ],
                  "timeAndCapacity": {
                    "time": "18:00",
                    "minInstanceCount": 6,
                    "maxInstanceCount": 6
                  }
                },
                {
                  "days": [
                    "Saturday",
                    "Sunday"
                  ],
                  "timeAndCapacity": {
                    "time": "09:00",
                    "minInstanceCount": 2,
                    "maxInstanceCount": 2
                  }
                },
                {
                  "days": [
                    "Saturday",
                    "Sunday"
                  ],
                  "timeAndCapacity": {
                    "time": "18:00",
                    "minInstanceCount": 4,
                    "maxInstanceCount": 4
                  }
                }
              ]
            }
          },
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "Standard_D4_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          },
          "virtualNetworkProfile": null,
          "scriptActions": [],
          "dataDisksGroups": null
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
  "name": "cluster1",
  "type": "Microsoft.HDInsight/clusters",
  "location": "East US",
  "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
  "properties": {
    "clusterVersion": "4.0.1000.1",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
      "kind": "HADOOP",
      "componentVersion": {
        "Hadoop": "3.1"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d12_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "standard_d4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2019-11-18T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 40
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard"
  }
}

Create Kafka cluster with Kafka Rest Proxy

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "properties": {
    "clusterVersion": "4.0",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "kafka",
      "componentVersion": {
        "Kafka": "2.1"
      },
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "kafkaRestProperties": {
      "clientGroupInfo": {
        "groupName": "Kafka security group name",
        "groupId": "00000000-0000-0000-0000-111111111111"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Large"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Large"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          },
          "dataDisksGroups": [
            {
              "disksPerNode": 8
            }
          ]
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Small"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "kafkamanagementnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Standard_D4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "kafkauser",
              "password": "**********"
            }
          }
        }
      ]
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "containername",
          "key": "storagekey"
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "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": "e1266b83-9bda-4797-a906-1bf82c8eb09a",
  "tags": null,
  "properties": {
    "clusterVersion": "4.0.1000.1",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/kafka-4.0.1000.1.1911212244.json",
      "kind": "KAFKA",
      "componentVersion": {
        "Kafka": "2.1"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d3_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "standard_d3_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          },
          "dataDisksGroups": [
            {
              "disksPerNode": 2,
              "storageAccountType": "Standard_LRS",
              "diskSizeGB": 1023
            }
          ]
        },
        {
          "name": "kafkamanagementnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2019-11-25T03:43:23.663",
    "quotaInfo": {
      "coresUsed": 52
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      },
      {
        "name": "KafkaRestProxyPublicEndpoint",
        "protocol": "TCP",
        "location": "cluster1-kafkarest.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard",
    "kafkaRestProperties": {
      "clientGroupInfo": {
        "groupName": "security group name",
        "groupId": "00000000-0000-0000-0000-000000000000"
      }
    }
  }
}

Create Secure Hadoop cluster

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "tags": {
    "key1": "val1"
  },
  "properties": {
    "clusterVersion": "3.5",
    "osType": "Linux",
    "tier": "Premium",
    "clusterDefinition": {
      "kind": "Hadoop",
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "containername",
          "key": "storage account key"
        }
      ]
    },
    "securityProfile": {
      "directoryType": "ActiveDirectory",
      "domain": "DomainName",
      "organizationalUnitDN": "OU=Hadoop,DC=hdinsight,DC=test",
      "ldapsUrls": [
        "ldaps://10.10.0.4:636"
      ],
      "domainUsername": "DomainUsername",
      "domainUserPassword": "**********",
      "clusterUsersGroupDNs": [
        "hdiusers"
      ]
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "minInstanceCount": 1,
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********",
              "sshProfile": {
                "publicKeys": [
                  {
                    "certificateData": "**********"
                  }
                ]
              }
            }
          },
          "virtualNetworkProfile": {
            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"
          },
          "scriptActions": []
        },
        {
          "name": "workernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "Standard_D3_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********",
              "sshProfile": {
                "publicKeys": [
                  {
                    "certificateData": "**********"
                  }
                ]
              }
            }
          },
          "virtualNetworkProfile": {
            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"
          },
          "scriptActions": []
        },
        {
          "name": "zookeepernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "Small"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********",
              "sshProfile": {
                "publicKeys": [
                  {
                    "certificateData": "**********"
                  }
                ]
              }
            }
          },
          "virtualNetworkProfile": {
            "id": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname",
            "subnet": "/subscriptions/subId/resourceGroups/rg/providers/Microsoft.Network/virtualNetworks/vnetname/subnets/vnetsubnet"
          },
          "scriptActions": []
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
  "name": "cluster1",
  "type": "Microsoft.HDInsight/clusters",
  "location": "East US",
  "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
  "properties": {
    "clusterVersion": "4.0.1000.1",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
      "kind": "HADOOP",
      "componentVersion": {
        "Hadoop": "3.1"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d12_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "standard_d4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2019-11-18T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 40
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard"
  }
}

Create Spark on Linux Cluster with SSH password

Przykładowe żądanie

PUT https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1?api-version=2021-06-01

{
  "tags": {
    "key1": "val1"
  },
  "properties": {
    "clusterVersion": "3.5",
    "osType": "Linux",
    "tier": "Standard",
    "clusterDefinition": {
      "kind": "Spark",
      "componentVersion": {
        "Spark": "2.0"
      },
      "configurations": {
        "gateway": {
          "restAuthCredential.isEnabled": true,
          "restAuthCredential.username": "admin",
          "restAuthCredential.password": "**********"
        }
      }
    },
    "storageProfile": {
      "storageaccounts": [
        {
          "name": "mystorage.blob.core.windows.net",
          "isDefault": true,
          "container": "containername",
          "key": "storageapikey*"
        }
      ]
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "minInstanceCount": 1,
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "Standard_D12_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        },
        {
          "name": "workernode",
          "minInstanceCount": 1,
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "Standard_D4_V2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser",
              "password": "**********"
            }
          }
        }
      ]
    }
  }
}

Przykładowa odpowiedź

location: https://management.azure.com/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1/azureasyncoperations/create?api-version=2021-06-01
{
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/rg1/providers/Microsoft.HDInsight/clusters/cluster1",
  "name": "cluster1",
  "type": "Microsoft.HDInsight/clusters",
  "location": "East US",
  "etag": "fdf2a6e8-ce83-42cc-8c2d-0ceb11a370ff",
  "properties": {
    "clusterVersion": "4.0.1000.1",
    "osType": "Linux",
    "clusterDefinition": {
      "blueprint": "https://blueprints.azurehdinsight.net/hadoop-4.0.1000.1.1910270459.json",
      "kind": "SPARK",
      "componentVersion": {
        "Hadoop": "3.1"
      }
    },
    "computeProfile": {
      "roles": [
        {
          "name": "headnode",
          "targetInstanceCount": 2,
          "hardwareProfile": {
            "vmSize": "standard_d12_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "workernode",
          "targetInstanceCount": 4,
          "hardwareProfile": {
            "vmSize": "standard_d4_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        },
        {
          "name": "zookeepernode",
          "targetInstanceCount": 3,
          "hardwareProfile": {
            "vmSize": "standard_a2_v2"
          },
          "osProfile": {
            "linuxOperatingSystemProfile": {
              "username": "sshuser"
            }
          }
        }
      ]
    },
    "provisioningState": "Succeeded",
    "clusterState": "Running",
    "createdDate": "2019-11-18T12:25:43.48",
    "quotaInfo": {
      "coresUsed": 40
    },
    "connectivityEndpoints": [
      {
        "name": "SSH",
        "protocol": "TCP",
        "location": "cluster1-ssh.azurehdinsight.net",
        "port": 22
      },
      {
        "name": "HTTPS",
        "protocol": "TCP",
        "location": "cluster1.azurehdinsight.net",
        "port": 443
      }
    ],
    "tier": "Standard"
  }
}

Definicje

Nazwa Opis
Autoscale

Parametry żądania automatycznego skalowania

AutoscaleCapacity

Parametry żądania automatycznego skalowania opartego na obciążeniu

AutoscaleRecurrence

Parametry żądania automatycznego skalowania opartego na harmonogramie

AutoscaleSchedule

Parametry reguły automatycznego skalowania opartego na harmonogramie składającej się z tablicy dni + czasu i pojemności

AutoscaleTimeAndCapacity

Parametry żądania czasu i pojemności

ClientGroupInfo

Informacje o grupie zabezpieczeń usługi AAD.

Cluster

Klaster usługi HDInsight.

ClusterCreateParametersExtended

Parametry żądania CreateCluster.

ClusterCreateProperties

Klaster tworzy parametry.

ClusterDefinition

Definicja klastra.

ClusterGetProperties

Właściwości klastra.

ClusterIdentity

Tożsamość klastra.

ComputeIsolationProperties

Właściwości izolacji obliczeniowej.

ComputeProfile

Opisuje profil obliczeniowy.

ConnectivityEndpoint

Właściwości łączności

createdByType

Typ tożsamości, która utworzyła zasób.

DataDisksGroups

Dyski danych grup dla roli.

DaysOfWeek

Dni tygodnia dla reguły automatycznego skalowania opartego na harmonogramie

DirectoryType

Typ katalogu.

DiskEncryptionProperties

Właściwości szyfrowania dysku

EncryptionInTransitProperties

Właściwości szyfrowania podczas przesyłania.

ErrorResponse

Opisuje format odpowiedzi Błąd.

Errors

Komunikat o błędzie skojarzony z tworzeniem klastra.

ExcludedServicesConfig

Konfiguracja, która będzie wykluczana podczas tworzenia klastra.

HardwareProfile

Profil sprzętu.

HDInsightClusterProvisioningState

Stan aprowizacji, który pojawia się tylko w odpowiedzi.

IPConfiguration

Konfiguracje adresów IP dla usługi private link.

JsonWebKeyEncryptionAlgorithm

Identyfikator algorytmu szyfrowania, domyślny RSA-OAEP.

KafkaRestProperties

Konfiguracja serwera proxy rest platformy Kafka zawierająca informacje o grupie zabezpieczeń usługi AAD.

LinuxOperatingSystemProfile

Nazwa użytkownika, hasło i klucz publiczny SSH.

NetworkProperties

Właściwości sieci.

OsProfile

Profil systemów operacyjnych Linux.

OSType

Typ systemu operacyjnego.

PrivateEndpoint

Prywatny punkt końcowy.

PrivateEndpointConnection

Połączenie prywatnego punktu końcowego.

PrivateEndpointConnectionProvisioningState

Stan aprowizacji, który pojawia się tylko w odpowiedzi.

PrivateIPAllocationMethod

Metoda przydzielania prywatnego adresu IP.

PrivateLink

Wskazuje, czy łącze prywatne jest włączone.

PrivateLinkConfiguration

Konfiguracja łącza prywatnego.

PrivateLinkConfigurationProvisioningState

Stan aprowizacji konfiguracji łącza prywatnego, który pojawia się tylko w odpowiedzi.

PrivateLinkServiceConnectionState

Stan połączenia usługi łącza prywatnego.

PrivateLinkServiceConnectionStatus

Konkretne połączenie usługi private link.

QuotaInfo

Właściwości przydziału klastra.

ResourceId

Identyfikator zasobu platformy Azure.

ResourceIdentityType

Typ tożsamości używanej dla klastra. Typ "SystemAssigned, UserAssigned" zawiera zarówno niejawnie utworzoną tożsamość, jak i zestaw tożsamości przypisanych przez użytkownika.

ResourceProviderConnection

Kierunek połączenia dostawcy zasobów.

Role

Opisuje rolę w klastrze.

ScriptAction

Opisuje akcję skryptu dla roli w klastrze.

SecurityProfile

Profil zabezpieczeń zawierający klucz publiczny Ssh dla klastra usługi HDInsight.

SshProfile

Lista kluczy publicznych SSH.

SshPublicKey

Klucz publiczny SSH dla węzłów klastra.

StorageAccount

Konto magazynu.

StorageProfile

Profil magazynu.

systemData

Metadane dotyczące tworzenia i ostatniej modyfikacji zasobu.

Tier

Warstwa klastra.

UserAssignedIdentity

Tożsamość przypisana przez użytkownika

VirtualNetworkProfile

Właściwości sieci wirtualnej.

Autoscale

Parametry żądania automatycznego skalowania

Nazwa Typ Opis
capacity

AutoscaleCapacity

Parametry skalowania automatycznego opartego na obciążeniu

recurrence

AutoscaleRecurrence

Parametry skalowania automatycznego opartego na harmonogramie

AutoscaleCapacity

Parametry żądania automatycznego skalowania opartego na obciążeniu

Nazwa Typ Opis
maxInstanceCount

integer (int32)

Maksymalna liczba wystąpień klastra

minInstanceCount

integer (int32)

Minimalna liczba wystąpień klastra

AutoscaleRecurrence

Parametry żądania automatycznego skalowania opartego na harmonogramie

Nazwa Typ Opis
schedule

AutoscaleSchedule[]

Tablica reguł automatycznego skalowania opartego na harmonogramie

timeZone

string

Strefa czasowa dla harmonogramów automatycznego skalowania

AutoscaleSchedule

Parametry reguły automatycznego skalowania opartego na harmonogramie składającej się z tablicy dni + czasu i pojemności

Nazwa Typ Opis
days

DaysOfWeek[]

Dni tygodnia dla reguły automatycznego skalowania opartego na harmonogramie

timeAndCapacity

AutoscaleTimeAndCapacity

Czas i pojemność reguły automatycznego skalowania opartego na harmonogramie

AutoscaleTimeAndCapacity

Parametry żądania czasu i pojemności

Nazwa Typ Opis
maxInstanceCount

integer (int32)

Maksymalna liczba wystąpień klastra

minInstanceCount

integer (int32)

Minimalna liczba wystąpień klastra

time

string

24-godzinny czas w postaci xx:xx

ClientGroupInfo

Informacje o grupie zabezpieczeń usługi AAD.

Nazwa Typ Opis
groupId

string

Identyfikator grupy zabezpieczeń usługi AAD.

groupName

string

Nazwa grupy zabezpieczeń usługi AAD.

Cluster

Klaster usługi HDInsight.

Nazwa Typ Opis
etag

string

Element ETag zasobu

id

string

W pełni kwalifikowany identyfikator zasobu dla zasobu. Przykład - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

identity

ClusterIdentity

Tożsamość klastra, jeśli jest skonfigurowana.

location

string

Lokalizacja geograficzna, w której znajduje się zasób

name

string

Nazwa zasobu

properties

ClusterGetProperties

Właściwości klastra.

systemData

systemData

Metadane dotyczące tworzenia i ostatniej modyfikacji zasobu.

tags

object

Tagi zasobów.

type

string

Typ zasobu. Np. "Microsoft.Compute/virtualMachines" lub "Microsoft.Storage/storageAccounts"

zones

string[]

Strefy dostępności.

ClusterCreateParametersExtended

Parametry żądania CreateCluster.

Nazwa Typ Opis
identity

ClusterIdentity

Tożsamość klastra, jeśli jest skonfigurowana.

location

string

Lokalizacja klastra.

properties

ClusterCreateProperties

Klaster tworzy parametry.

tags

object

Tagi zasobów.

zones

string[]

Strefy dostępności.

ClusterCreateProperties

Klaster tworzy parametry.

Nazwa Typ Domyślna wartość Opis
clusterDefinition

ClusterDefinition

Definicja klastra.

clusterVersion

string

Wersja klastra.

computeIsolationProperties

ComputeIsolationProperties

Właściwości izolacji obliczeniowej.

computeProfile

ComputeProfile

Profil obliczeniowy.

diskEncryptionProperties

DiskEncryptionProperties

Właściwości szyfrowania dysku.

encryptionInTransitProperties

EncryptionInTransitProperties

Właściwości szyfrowania podczas przesyłania.

kafkaRestProperties

KafkaRestProperties

Konfiguracja serwera proxy rest platformy Kafka klastra.

minSupportedTlsVersion

string

Minimalna obsługiwana wersja protokołu TLS.

networkProperties

NetworkProperties

Właściwości sieci.

osType

OSType

Typ systemu operacyjnego.

privateLinkConfigurations

PrivateLinkConfiguration[]

Konfiguracje łącza prywatnego.

securityProfile

SecurityProfile

Profil zabezpieczeń.

storageProfile

StorageProfile

Profil magazynu.

tier

Tier

Standard

Warstwa klastra.

ClusterDefinition

Definicja klastra.

Nazwa Typ Opis
blueprint

string

Link do strategii.

componentVersion

object

Wersje różnych usług w klastrze.

configurations

object

Konfiguracje klastra.

kind

string

Typ klastra.

ClusterGetProperties

Właściwości klastra.

Nazwa Typ Opis
clusterDefinition

ClusterDefinition

Definicja klastra.

clusterHdpVersion

string

Wersja hdp klastra.

clusterId

string

Identyfikator klastra.

clusterState

string

Stan klastra.

clusterVersion

string

Wersja klastra.

computeIsolationProperties

ComputeIsolationProperties

Właściwości izolacji obliczeniowej.

computeProfile

ComputeProfile

Profil obliczeniowy.

connectivityEndpoints

ConnectivityEndpoint[]

Lista punktów końcowych łączności.

createdDate

string

Data utworzenia klastra.

diskEncryptionProperties

DiskEncryptionProperties

Właściwości szyfrowania dysku.

encryptionInTransitProperties

EncryptionInTransitProperties

Właściwości szyfrowania podczas przesyłania.

errors

Errors[]

Lista błędów.

excludedServicesConfig

ExcludedServicesConfig

Konfiguracja wykluczonych usług.

kafkaRestProperties

KafkaRestProperties

Konfiguracja serwera proxy rest platformy Kafka klastra.

minSupportedTlsVersion

string

Minimalna obsługiwana wersja protokołu TLS.

networkProperties

NetworkProperties

Właściwości sieci.

osType

OSType

Typ systemu operacyjnego.

privateEndpointConnections

PrivateEndpointConnection[]

Lista połączeń prywatnych punktów końcowych.

privateLinkConfigurations

PrivateLinkConfiguration[]

Konfiguracje łącza prywatnego.

provisioningState

HDInsightClusterProvisioningState

Stan aprowizacji, który pojawia się tylko w odpowiedzi.

quotaInfo

QuotaInfo

Informacje o limitach przydziału.

securityProfile

SecurityProfile

Profil zabezpieczeń.

storageProfile

StorageProfile

Profil magazynu.

tier

Tier

Warstwa klastra.

ClusterIdentity

Tożsamość klastra.

Nazwa Typ Opis
principalId

string

Identyfikator podmiotu zabezpieczeń tożsamości klastra. Ta właściwość zostanie udostępniona tylko dla tożsamości przypisanej przez system.

tenantId

string

Identyfikator dzierżawy skojarzony z klastrem. Ta właściwość zostanie udostępniona tylko dla tożsamości przypisanej przez system.

type

ResourceIdentityType

Typ tożsamości używanej dla klastra. Typ "SystemAssigned, UserAssigned" zawiera zarówno niejawnie utworzoną tożsamość, jak i zestaw tożsamości przypisanych przez użytkownika.

userAssignedIdentities

<string,  UserAssignedIdentity>

Lista tożsamości użytkowników skojarzonych z klastrem. Odwołania do klucza słownika tożsamości użytkownika będą identyfikatorami zasobów arm w postaci: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}".

ComputeIsolationProperties

Właściwości izolacji obliczeniowej.

Nazwa Typ Domyślna wartość Opis
enableComputeIsolation

boolean

False

Flaga wskazuje, czy włączyć izolację obliczeniową, czy nie.

hostSku

string

Jednostka SKU hosta.

ComputeProfile

Opisuje profil obliczeniowy.

Nazwa Typ Opis
roles

Role[]

Lista ról w klastrze.

ConnectivityEndpoint

Właściwości łączności

Nazwa Typ Opis
location

string

Lokalizacja punktu końcowego.

name

string

Nazwa punktu końcowego.

port

integer (int32)

Port do nawiązania połączenia.

privateIPAddress

string

Prywatny adres IP punktu końcowego.

protocol

string

Protokół punktu końcowego.

createdByType

Typ tożsamości, która utworzyła zasób.

Wartość Opis
User
Application
ManagedIdentity
Key

DataDisksGroups

Dyski danych grup dla roli.

Nazwa Typ Opis
diskSizeGB

integer (int32)

Tylko do odczytu. Rozmiar dysku w GB. Nie ustawiaj tej wartości.

disksPerNode

integer (int32)

Liczba dysków na węzeł.

storageAccountType

string

Tylko do odczytu. Typ konta magazynu. Nie ustawiaj tej wartości.

DaysOfWeek

Dni tygodnia dla reguły automatycznego skalowania opartego na harmonogramie

Wartość Opis
Monday
Tuesday
Wednesday
Thursday
Friday
Saturday
Sunday

DirectoryType

Typ katalogu.

Wartość Opis
ActiveDirectory

DiskEncryptionProperties

Właściwości szyfrowania dysku

Nazwa Typ Domyślna wartość Opis
encryptionAlgorithm

JsonWebKeyEncryptionAlgorithm

Identyfikator algorytmu szyfrowania, domyślny RSA-OAEP.

encryptionAtHost

boolean

False

Wskazuje, czy szyfrowanie dysków zasobów jest włączone.

keyName

string

Nazwa klucza używana do włączania szyfrowania dysków.

keyVersion

string

Określona wersja klucza używana do włączania szyfrowania dysków.

msiResourceId

string

Identyfikator zasobu tożsamości zarządzanej używany do uzyskiwania dostępu do magazynu kluczy.

vaultUri

string

Podstawowy identyfikator URI magazynu kluczy, w którym znajduje się klucz klienta, np. https://myvault.vault.azure.net

EncryptionInTransitProperties

Właściwości szyfrowania podczas przesyłania.

Nazwa Typ Domyślna wartość Opis
isEncryptionInTransitEnabled

boolean

False

Wskazuje, czy komunikacja między węzłami klastra jest szyfrowana podczas przesyłania.

ErrorResponse

Opisuje format odpowiedzi Błąd.

Nazwa Typ Opis
code

string

Kod błędu

message

string

Komunikat o błędzie wskazujący, dlaczego operacja nie powiodła się.

Errors

Komunikat o błędzie skojarzony z tworzeniem klastra.

Nazwa Typ Opis
code

string

Kod błędu.

message

string

Komunikat o błędzie.

ExcludedServicesConfig

Konfiguracja, która będzie wykluczana podczas tworzenia klastra.

Nazwa Typ Opis
excludedServicesConfigId

string

Identyfikator konfiguracji wykluczonych usług.

excludedServicesList

string

Lista wykluczonych usług.

HardwareProfile

Profil sprzętu.

Nazwa Typ Opis
vmSize

string

Rozmiar maszyny wirtualnej

HDInsightClusterProvisioningState

Stan aprowizacji, który pojawia się tylko w odpowiedzi.

Wartość Opis
InProgress
Failed
Succeeded
Canceled
Deleting

IPConfiguration

Konfiguracje adresów IP dla usługi private link.

Nazwa Typ Opis
id

string

Identyfikator konfiguracji adresu IP łącza prywatnego.

name

string

Nazwa konfiguracji adresu IP łącza prywatnego.

properties.primary

boolean

Wskazuje, czy ta konfiguracja adresu IP jest podstawowa dla odpowiedniej karty sieciowej.

properties.privateIPAddress

string

Adres IP.

properties.privateIPAllocationMethod

PrivateIPAllocationMethod

Metoda przydzielania prywatnego adresu IP.

properties.provisioningState

PrivateLinkConfigurationProvisioningState

Stan aprowizacji konfiguracji łącza prywatnego, który pojawia się tylko w odpowiedzi.

properties.subnet

ResourceId

Identyfikator zasobu podsieci.

type

string

Typ konfiguracji adresu IP łącza prywatnego.

JsonWebKeyEncryptionAlgorithm

Identyfikator algorytmu szyfrowania, domyślny RSA-OAEP.

Wartość Opis
RSA-OAEP
RSA-OAEP-256
RSA1_5

KafkaRestProperties

Konfiguracja serwera proxy rest platformy Kafka zawierająca informacje o grupie zabezpieczeń usługi AAD.

Nazwa Typ Opis
clientGroupInfo

ClientGroupInfo

Informacje o grupie zabezpieczeń usługi AAD.

configurationOverride

object

Konfiguracje, które muszą zostać zastąpione.

LinuxOperatingSystemProfile

Nazwa użytkownika, hasło i klucz publiczny SSH.

Nazwa Typ Opis
password

string

Hasło.

sshProfile

SshProfile

Profil SSH.

username

string

Nazwa użytkownika.

NetworkProperties

Właściwości sieci.

Nazwa Typ Opis
privateLink

PrivateLink

Wskazuje, czy łącze prywatne jest włączone.

resourceProviderConnection

ResourceProviderConnection

Kierunek połączenia dostawcy zasobów.

OsProfile

Profil systemów operacyjnych Linux.

Nazwa Typ Opis
linuxOperatingSystemProfile

LinuxOperatingSystemProfile

Profil systemu operacyjnego Linux.

OSType

Typ systemu operacyjnego.

Wartość Opis
Windows
Linux

PrivateEndpoint

Prywatny punkt końcowy.

Nazwa Typ Opis
id

string

Identyfikator prywatnego punktu końcowego.

PrivateEndpointConnection

Połączenie prywatnego punktu końcowego.

Nazwa Typ Opis
id

string

W pełni kwalifikowany identyfikator zasobu dla zasobu. Przykład - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

Nazwa zasobu

properties.linkIdentifier

string

Identyfikator łącza.

properties.privateEndpoint

PrivateEndpoint

Prywatny punkt końcowy połączenia prywatnego punktu końcowego

properties.privateLinkServiceConnectionState

PrivateLinkServiceConnectionState

Stan połączenia usługi łącza prywatnego.

properties.provisioningState

PrivateEndpointConnectionProvisioningState

Stan aprowizacji, który pojawia się tylko w odpowiedzi.

systemData

systemData

Metadane dotyczące tworzenia i ostatniej modyfikacji zasobu.

type

string

Typ zasobu. Np. "Microsoft.Compute/virtualMachines" lub "Microsoft.Storage/storageAccounts"

PrivateEndpointConnectionProvisioningState

Stan aprowizacji, który pojawia się tylko w odpowiedzi.

Wartość Opis
InProgress
Updating
Failed
Succeeded
Canceled
Deleting

PrivateIPAllocationMethod

Metoda przydzielania prywatnego adresu IP.

Wartość Opis
dynamic
static

Wskazuje, czy łącze prywatne jest włączone.

Wartość Opis
Disabled
Enabled

PrivateLinkConfiguration

Konfiguracja łącza prywatnego.

Nazwa Typ Opis
id

string

Identyfikator konfiguracji łącza prywatnego.

name

string

Nazwa konfiguracji łącza prywatnego.

properties.groupId

string

Nazwa zasobu podrzędnego z możliwością połączenia prywatnego usługi HDInsight w celu zastosowania konfiguracji łącza prywatnego. Na przykład "headnode", "gateway", "edgenode".

properties.ipConfigurations

IPConfiguration[]

Konfiguracje adresów IP dla usługi private link.

properties.provisioningState

PrivateLinkConfigurationProvisioningState

Stan aprowizacji konfiguracji łącza prywatnego, który pojawia się tylko w odpowiedzi.

type

string

Typ konfiguracji łącza prywatnego.

PrivateLinkConfigurationProvisioningState

Stan aprowizacji konfiguracji łącza prywatnego, który pojawia się tylko w odpowiedzi.

Wartość Opis
InProgress
Failed
Succeeded
Canceled
Deleting

PrivateLinkServiceConnectionState

Stan połączenia usługi łącza prywatnego.

Nazwa Typ Opis
actionsRequired

string

Czy istnieją dalsze działania.

description

string

Opcjonalny opis stanu.

status

PrivateLinkServiceConnectionStatus

Konkretne połączenie usługi private link.

PrivateLinkServiceConnectionStatus

Konkretne połączenie usługi private link.

Wartość Opis
Approved
Rejected
Pending
Removed

QuotaInfo

Właściwości przydziału klastra.

Nazwa Typ Opis
coresUsed

integer (int32)

Rdzenie używane przez klaster.

ResourceId

Identyfikator zasobu platformy Azure.

Nazwa Typ Opis
id

string

Identyfikator zasobu platformy Azure.

ResourceIdentityType

Typ tożsamości używanej dla klastra. Typ "SystemAssigned, UserAssigned" zawiera zarówno niejawnie utworzoną tożsamość, jak i zestaw tożsamości przypisanych przez użytkownika.

Wartość Opis
SystemAssigned
UserAssigned
SystemAssigned, UserAssigned
None

ResourceProviderConnection

Kierunek połączenia dostawcy zasobów.

Wartość Opis
Inbound
Outbound

Role

Opisuje rolę w klastrze.

Nazwa Typ Domyślna wartość Opis
VMGroupName

string

Nazwa grupy maszyn wirtualnych.

autoscale

Autoscale

Konfiguracje automatycznego skalowania.

dataDisksGroups

DataDisksGroups[]

Dyski danych grup dla roli.

encryptDataDisks

boolean

False

Wskazuje, czy szyfrują dyski danych.

hardwareProfile

HardwareProfile

Profil sprzętu.

minInstanceCount

integer (int32)

Minimalna liczba wystąpień klastra.

name

string

Nazwa roli.

osProfile

OsProfile

Profil systemu operacyjnego.

scriptActions

ScriptAction[]

Lista akcji skryptu dla roli.

targetInstanceCount

integer (int32)

Liczba wystąpień klastra.

virtualNetworkProfile

VirtualNetworkProfile

Profil sieci wirtualnej.

ScriptAction

Opisuje akcję skryptu dla roli w klastrze.

Nazwa Typ Opis
name

string

Nazwa akcji skryptu.

parameters

string

Parametry podanego skryptu.

uri

string

Identyfikator URI skryptu.

SecurityProfile

Profil zabezpieczeń zawierający klucz publiczny Ssh dla klastra usługi HDInsight.

Nazwa Typ Opis
aaddsResourceId

string

Identyfikator zasobu usługi Azure Active Directory Domain Service użytkownika.

clusterUsersGroupDNs

string[]

Opcjonalny. Nazwy wyróżniające dla grup użytkowników klastra

directoryType

DirectoryType

Typ katalogu.

domain

string

Domena usługi Active Directory organizacji.

domainUserPassword

string (password)

Hasło administratora domeny.

domainUsername

string

Konto użytkownika domeny, które będzie miało uprawnienia administratora w klastrze.

ldapsUrls

string[]

Adresy URL protokołu LDAPS do komunikacji z usługą Active Directory.

msiResourceId

string

Tożsamość przypisana przez użytkownika, która ma uprawnienia do odczytywania i tworzenia artefaktów związanych z klastrem w usłudze AADDS użytkownika.

organizationalUnitDN

string

Jednostka organizacyjna w usłudze Active Directory do umieszczania klastra i kont usług.

SshProfile

Lista kluczy publicznych SSH.

Nazwa Typ Opis
publicKeys

SshPublicKey[]

Lista kluczy publicznych SSH.

SshPublicKey

Klucz publiczny SSH dla węzłów klastra.

Nazwa Typ Opis
certificateData

string

Certyfikat dla protokołu SSH.

StorageAccount

Konto magazynu.

Nazwa Typ Opis
container

string

Kontener na koncie magazynu, który ma być określony tylko dla kont magazynu WASB.

fileSystem

string

System plików, który ma być określony tylko dla usługi Azure Data Lake Storage Gen 2.

fileshare

string

Nazwa udziału plików.

isDefault

boolean

Określa, czy konto magazynu jest domyślnym kontem magazynu.

key

string

Klucz dostępu do konta magazynu.

msiResourceId

string

Tożsamość zarządzana (MSI), która może uzyskiwać dostęp do konta magazynu, tylko dla usługi Azure Data Lake Storage Gen 2.

name

string

Nazwa konta magazynu.

resourceId

string

Identyfikator zasobu konta magazynu, który ma być określony tylko dla usługi Azure Data Lake Storage Gen 2.

saskey

string

Klucz sygnatury dostępu współdzielonego.

StorageProfile

Profil magazynu.

Nazwa Typ Opis
storageaccounts

StorageAccount[]

Lista kont magazynu w klastrze.

systemData

Metadane dotyczące tworzenia i ostatniej modyfikacji zasobu.

Nazwa Typ Opis
createdAt

string (date-time)

Sygnatura czasowa tworzenia zasobu (UTC).

createdBy

string

Tożsamość, która utworzyła zasób.

createdByType

createdByType

Typ tożsamości, która utworzyła zasób.

lastModifiedAt

string (date-time)

Znacznik czasu ostatniej modyfikacji zasobu (UTC)

lastModifiedBy

string

Tożsamość, która ostatnio zmodyfikowała zasób.

lastModifiedByType

createdByType

Typ tożsamości, która ostatnio zmodyfikowała zasób.

Tier

Warstwa klastra.

Wartość Opis
Standard
Premium

UserAssignedIdentity

Tożsamość przypisana przez użytkownika

Nazwa Typ Opis
clientId

string

Identyfikator klienta tożsamości przypisanej przez użytkownika.

principalId

string

Identyfikator podmiotu zabezpieczeń tożsamości przypisanej przez użytkownika.

tenantId

string

Identyfikator dzierżawy tożsamości przypisanej przez użytkownika.

VirtualNetworkProfile

Właściwości sieci wirtualnej.

Nazwa Typ Opis
id

string

Identyfikator sieci wirtualnej.

subnet

string

Nazwa podsieci.