This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.
hdinsight¶
This provider is a derived work of the Terraform Provider distributed under MPL 2.0. If you encounter a bug or missing feature, first check the pulumi/pulumi-azure repo; however, if that doesn’t turn up anything, please consult the source terraform-providers/terraform-provider-azurerm repo.
- class
pulumi_azure.hdinsight.AwaitableGetClusterResult(cluster_version=None, component_versions=None, edge_ssh_endpoint=None, gateways=None, https_endpoint=None, id=None, kind=None, location=None, name=None, resource_group_name=None, ssh_endpoint=None, tags=None, tier=None, tls_min_version=None)¶
- class
pulumi_azure.hdinsight.GetClusterResult(cluster_version=None, component_versions=None, edge_ssh_endpoint=None, gateways=None, https_endpoint=None, id=None, kind=None, location=None, name=None, resource_group_name=None, ssh_endpoint=None, tags=None, tier=None, tls_min_version=None)¶ A collection of values returned by getCluster.
cluster_version= None¶The version of HDInsights which is used on this HDInsight Cluster.
component_versions= None¶A map of versions of software used on this HDInsights Cluster.
edge_ssh_endpoint= None¶The SSH Endpoint of the Edge Node for this HDInsight Cluster, if an Edge Node exists.
gateways= None¶A
gatewayblock as defined below.
https_endpoint= None¶The HTTPS Endpoint for this HDInsight Cluster.
id= None¶The provider-assigned unique ID for this managed resource.
kind= None¶The kind of HDInsight Cluster this is, such as a Spark or Storm cluster.
location= None¶The Azure Region in which this HDInsight Cluster exists.
ssh_endpoint= None¶The SSH Endpoint for this HDInsight Cluster.
A map of tags assigned to the HDInsight Cluster.
tier= None¶The SKU / Tier of this HDInsight Cluster.
- class
pulumi_azure.hdinsight.HBaseCluster(resource_name, opts=None, cluster_version=None, component_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight HBase Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_h_base_cluster = azure.hdinsight.HBaseCluster("exampleHBaseCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="3.6", tier="Standard", component_version={ "hbase": "1.1", }, gateway={ "enabled": True, "username": "acctestusrgw", "password": "Password123!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight HBase Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight HBase Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
hbase(pulumi.Input[str]) - The version of HBase which should be used for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version: pulumi.Output[dict] = None¶A
component_versionblock as defined below.hbase(str) - The version of HBase which should be used for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight HBase Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight HBase Cluster.
storage_account_gen2: pulumi.Output[dict] = None¶A
storage_account_gen2block as defined below.filesystemId(str) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(str) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(str) - The ID of the Storage Account. Changing this forces a new resource to be created.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight HBase Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight HBase Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, component_version=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, ssh_endpoint=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing HBaseCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight HBase Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight HBase Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight HBase Cluster.
storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight HBase Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight HBase Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
hbase(pulumi.Input[str]) - The version of HBase which should be used for this HDInsight HBase Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_azure.hdinsight.HadoopCluster(resource_name, opts=None, cluster_version=None, component_version=None, gateway=None, location=None, metastores=None, name=None, resource_group_name=None, roles=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight Hadoop Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_hadoop_cluster = azure.hdinsight.HadoopCluster("exampleHadoopCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="3.6", tier="Standard", component_version={ "hadoop": "2.7", }, gateway={ "enabled": True, "username": "acctestusrgw", "password": "PAssword123!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_D4_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Hadoop Cluster should exist. Changing this forces a new resource to be created.
metastores (pulumi.Input[dict]) – A
metastoresblock as defined below.name (pulumi.Input[str]) – Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Hadoop Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Hadoop Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Hadoop Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
hadoop(pulumi.Input[str]) - The version of Hadoop which should be used for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The metastores object supports the following:
ambari(pulumi.Input[dict]) - Anambariblock as defined below.database_name(pulumi.Input[str]) - The external Hive metastore’s existing SQL database. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The external Ambari metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(pulumi.Input[str]) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Ambari metastore. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The external Ambari metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
hive(pulumi.Input[dict]) - Ahiveblock as defined below.database_name(pulumi.Input[str]) - The external Hive metastore’s existing SQL database. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The external Hive metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(pulumi.Input[str]) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Hive metastore. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The external Hive metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
oozie(pulumi.Input[dict]) - Anoozieblock as defined below.database_name(pulumi.Input[str]) - The external Oozie metastore’s existing SQL database. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The external Oozie metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(pulumi.Input[str]) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The external Oozie metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
The roles object supports the following:
edgeNode(pulumi.Input[dict]) - Aedge_nodeblock as defined below.installScriptActions(pulumi.Input[list]) - Ainstall_script_actionblock as defined below.name(pulumi.Input[str]) - The name of the install script action. Changing this forces a new resource to be created.uri(pulumi.Input[str]) - The URI pointing to the script to run during the installation of the edge node. Changing this forces a new resource to be created.
targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Edge Nodes. Changing this forces a new resource to be created.
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version: pulumi.Output[dict] = None¶A
component_versionblock as defined below.hadoop(str) - The version of Hadoop which should be used for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight Hadoop Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight Hadoop Cluster should exist. Changing this forces a new resource to be created.
metastores: pulumi.Output[dict] = None¶A
metastoresblock as defined below.ambari(dict) - Anambariblock as defined below.database_name(str) - The external Hive metastore’s existing SQL database. Changing this forces a new resource to be created.password(str) - The external Ambari metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(str) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Ambari metastore. Changing this forces a new resource to be created.username(str) - The external Ambari metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
hive(dict) - Ahiveblock as defined below.database_name(str) - The external Hive metastore’s existing SQL database. Changing this forces a new resource to be created.password(str) - The external Hive metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(str) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Hive metastore. Changing this forces a new resource to be created.username(str) - The external Hive metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
oozie(dict) - Anoozieblock as defined below.database_name(str) - The external Oozie metastore’s existing SQL database. Changing this forces a new resource to be created.password(str) - The external Oozie metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(str) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.username(str) - The external Oozie metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight Hadoop Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.edgeNode(dict) - Aedge_nodeblock as defined below.installScriptActions(list) - Ainstall_script_actionblock as defined below.name(str) - The name of the install script action. Changing this forces a new resource to be created.uri(str) - The URI pointing to the script to run during the installation of the edge node. Changing this forces a new resource to be created.
targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.vm_size(str) - The Size of the Virtual Machine which should be used as the Edge Nodes. Changing this forces a new resource to be created.
headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight Hadoop Cluster.
storage_account_gen2: pulumi.Output[dict] = None¶A
storage_account_gen2block as defined below.filesystemId(str) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(str) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(str) - The ID of the Storage Account. Changing this forces a new resource to be created.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight Hadoop Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight Hadoop Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, component_version=None, gateway=None, https_endpoint=None, location=None, metastores=None, name=None, resource_group_name=None, roles=None, ssh_endpoint=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing HadoopCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight Hadoop Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Hadoop Cluster should exist. Changing this forces a new resource to be created.
metastores (pulumi.Input[dict]) – A
metastoresblock as defined below.name (pulumi.Input[str]) – Specifies the name for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Hadoop Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight Hadoop Cluster.
storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Hadoop Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Hadoop Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
hadoop(pulumi.Input[str]) - The version of Hadoop which should be used for this HDInsight Hadoop Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The metastores object supports the following:
ambari(pulumi.Input[dict]) - Anambariblock as defined below.database_name(pulumi.Input[str]) - The external Hive metastore’s existing SQL database. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The external Ambari metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(pulumi.Input[str]) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Ambari metastore. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The external Ambari metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
hive(pulumi.Input[dict]) - Ahiveblock as defined below.database_name(pulumi.Input[str]) - The external Hive metastore’s existing SQL database. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The external Hive metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(pulumi.Input[str]) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Hive metastore. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The external Hive metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
oozie(pulumi.Input[dict]) - Anoozieblock as defined below.database_name(pulumi.Input[str]) - The external Oozie metastore’s existing SQL database. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The external Oozie metastore’s existing SQL server admin password. Changing this forces a new resource to be created.server(pulumi.Input[str]) - The fully-qualified domain name (FQDN) of the SQL server to use for the external Oozie metastore. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The external Oozie metastore’s existing SQL server admin username. Changing this forces a new resource to be created.
The roles object supports the following:
edgeNode(pulumi.Input[dict]) - Aedge_nodeblock as defined below.installScriptActions(pulumi.Input[list]) - Ainstall_script_actionblock as defined below.name(pulumi.Input[str]) - The name of the install script action. Changing this forces a new resource to be created.uri(pulumi.Input[str]) - The URI pointing to the script to run during the installation of the edge node. Changing this forces a new resource to be created.
targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Edge Nodes. Changing this forces a new resource to be created.
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_azure.hdinsight.InteractiveQueryCluster(resource_name, opts=None, cluster_version=None, component_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight Interactive Query Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_interactive_query_cluster = azure.hdinsight.InteractiveQueryCluster("exampleInteractiveQueryCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="3.6", tier="Standard", component_version={ "interactiveHive": "2.1", }, gateway={ "enabled": True, "username": "acctestusrgw", "password": "Password!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_D13_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_D14_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Standard_A4_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Interactive Query Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Interactive Query Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Interactive Query Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Interactive Query Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Interactive Query Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
interactiveHive(pulumi.Input[str])
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version: pulumi.Output[dict] = None¶A
component_versionblock as defined below.interactiveHive(str)
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight Interactive Query Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight Interactive Query Cluster should exist. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight Interactive Query Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight Interactive Query Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight Interactive Query Cluster.
storage_account_gen2: pulumi.Output[dict] = None¶A
storage_account_gen2block as defined below.filesystemId(str) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(str) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(str) - The ID of the Storage Account. Changing this forces a new resource to be created.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight Interactive Query Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight Interactive Query Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, component_version=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, ssh_endpoint=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing InteractiveQueryCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight Interactive Query Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Interactive Query Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Interactive Query Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Interactive Query Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight Interactive Query Cluster.
storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Interactive Query Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Interactive Query Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
interactiveHive(pulumi.Input[str])
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_azure.hdinsight.KafkaCluster(resource_name, opts=None, cluster_version=None, component_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight Kafka Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_kafka_cluster = azure.hdinsight.KafkaCluster("exampleKafkaCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="4.0", tier="Standard", component_version={ "kafka": "2.1", }, gateway={ "enabled": True, "username": "acctestusrgw", "password": "Password123!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "numberOfDisksPerNode": 3, "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Kafka Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Kafka Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
kafka(pulumi.Input[str]) - The version of Kafka which should be used for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.numberOfDisksPerNode(pulumi.Input[float]) - The number of Data Disks which should be assigned to each Worker Node, which can be between 1 and 8. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version: pulumi.Output[dict] = None¶A
component_versionblock as defined below.kafka(str) - The version of Kafka which should be used for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight Kafka Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.numberOfDisksPerNode(float) - The number of Data Disks which should be assigned to each Worker Node, which can be between 1 and 8. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight Kafka Cluster.
storage_account_gen2: pulumi.Output[dict] = None¶A
storage_account_gen2block as defined below.filesystemId(str) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(str) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(str) - The ID of the Storage Account. Changing this forces a new resource to be created.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight Kafka Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight Kafka Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, component_version=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, ssh_endpoint=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing KafkaCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight Kafka Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Kafka Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight Kafka Cluster.
storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Kafka Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Kafka Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
kafka(pulumi.Input[str]) - The version of Kafka which should be used for this HDInsight Kafka Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.numberOfDisksPerNode(pulumi.Input[float]) - The number of Data Disks which should be assigned to each Worker Node, which can be between 1 and 8. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_azure.hdinsight.MLServicesCluster(resource_name, opts=None, cluster_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, rstudio=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight ML Services Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_ml_services_cluster = azure.hdinsight.MLServicesCluster("exampleMLServicesCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="3.6", tier="Standard", rstudio=True, gateway={ "enabled": True, "username": "acctestusrgw", "password": "Password123!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_D3_v2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_D4_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Standard_D3_v2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "edge_node": { "vm_size": "Standard_D3_v2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight ML Services Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight ML Services Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight ML Services Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.rstudio (pulumi.Input[bool]) – Should R Studio community edition for ML Services be installed? Changing this forces a new resource to be created.
storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight ML Services Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight ML Services Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
edgeNode(pulumi.Input[dict]) - Aedge_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Edge Node. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Edge Node. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Edge Node. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Edge Node. Changing this forces a new resource to be created.
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight ML Services Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
edge_ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for the Edge Node of the HDInsight ML Cluster.
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight ML Services Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight ML Services Cluster should exist. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight ML Services Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight ML Services Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.edgeNode(dict) - Aedge_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Edge Node. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Edge Node. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Edge Node. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Edge Node. Changing this forces a new resource to be created.
headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
rstudio: pulumi.Output[bool] = None¶Should R Studio community edition for ML Services be installed? Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight ML Services Cluster.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight ML Services Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight ML Services Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight ML Services Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, edge_ssh_endpoint=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, rstudio=None, ssh_endpoint=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing MLServicesCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
edge_ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for the Edge Node of the HDInsight ML Cluster.
gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight ML Services Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight ML Services Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight ML Services Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight ML Services Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.rstudio (pulumi.Input[bool]) – Should R Studio community edition for ML Services be installed? Changing this forces a new resource to be created.
ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight ML Services Cluster.
storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight ML Services Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight ML Services Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
edgeNode(pulumi.Input[dict]) - Aedge_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Edge Node. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Edge Node. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Edge Node. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Edge Node. Changing this forces a new resource to be created.
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight ML Services Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_azure.hdinsight.RServerCluster(resource_name, opts=None, cluster_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, rstudio=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight RServer Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_r_server_cluster = azure.hdinsight.RServerCluster("exampleRServerCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="3.6", tier="Standard", rstudio=True, gateway={ "enabled": True, "username": "acctestusrgw", "password": "Password123!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_D3_v2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_D4_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Standard_D3_v2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "edge_node": { "vm_size": "Standard_D3_v2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight RServer Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight RServer Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight RServer Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.rstudio (pulumi.Input[bool]) – Should R Studio community edition for RServer be installed? Changing this forces a new resource to be created.
storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight RServer Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight RServer Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
edgeNode(pulumi.Input[dict]) - Aedge_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Edge Node. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Edge Node. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Edge Node. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Edge Node. Changing this forces a new resource to be created.
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight RServer Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
edge_ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for the Edge Node of the HDInsight RServer Cluster.
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight RServer Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight RServer Cluster should exist. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight RServer Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight RServer Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.edgeNode(dict) - Aedge_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Edge Node. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Edge Node. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Edge Node. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Edge Node. Changing this forces a new resource to be created.
headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
rstudio: pulumi.Output[bool] = None¶Should R Studio community edition for RServer be installed? Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight RServer Cluster.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight RServer Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight RServer Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight RServer Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, edge_ssh_endpoint=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, rstudio=None, ssh_endpoint=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing RServerCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
edge_ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for the Edge Node of the HDInsight RServer Cluster.
gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight RServer Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight RServer Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight RServer Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight RServer Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.rstudio (pulumi.Input[bool]) – Should R Studio community edition for RServer be installed? Changing this forces a new resource to be created.
ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight RServer Cluster.
storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight RServer Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight RServer Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
edgeNode(pulumi.Input[dict]) - Aedge_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Edge Node. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Edge Node. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Edge Node. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Edge Node should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Edge Node. Changing this forces a new resource to be created.
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight RServer Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_azure.hdinsight.SparkCluster(resource_name, opts=None, cluster_version=None, component_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight Spark Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_spark_cluster = azure.hdinsight.SparkCluster("exampleSparkCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="3.6", tier="Standard", component_version={ "spark": "2.3", }, gateway={ "enabled": True, "username": "acctestusrgw", "password": "Password123!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_A3", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_A3", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Medium", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Spark Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Spark Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
spark(pulumi.Input[str]) - The version of Spark which should be used for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version: pulumi.Output[dict] = None¶A
component_versionblock as defined below.spark(str) - The version of Spark which should be used for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight Spark Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight Spark Cluster.
storage_account_gen2: pulumi.Output[dict] = None¶A
storage_account_gen2block as defined below.filesystemId(str) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(str) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(str) - The ID of the Storage Account. Changing this forces a new resource to be created.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight Spark Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight Spark Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, component_version=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, ssh_endpoint=None, storage_account_gen2=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing SparkCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight Spark Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Spark Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight Spark Cluster.
storage_account_gen2 (pulumi.Input[dict]) – A
storage_account_gen2block as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Spark Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Spark Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
spark(pulumi.Input[str]) - The version of Spark which should be used for this HDInsight Spark Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_account_gen2 object supports the following:
filesystemId(pulumi.Input[str]) - The ID of the Gen2 Filesystem. Changing this forces a new resource to be created.isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.managedIdentityResourceId(pulumi.Input[str]) - The ID of Managed Identity to use for accessing the Gen2 filesystem. Changing this forces a new resource to be created.storageResourceId(pulumi.Input[str]) - The ID of the Storage Account. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Hadoop Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
- class
pulumi_azure.hdinsight.StormCluster(resource_name, opts=None, cluster_version=None, component_version=None, gateway=None, location=None, name=None, resource_group_name=None, roles=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None, __props__=None, __name__=None, __opts__=None)¶ Manages a HDInsight Storm Cluster.
import pulumi import pulumi_azure as azure example_resource_group = azure.core.ResourceGroup("exampleResourceGroup", location="West Europe") example_account = azure.storage.Account("exampleAccount", resource_group_name=example_resource_group.name, location=example_resource_group.location, account_tier="Standard", account_replication_type="LRS") example_container = azure.storage.Container("exampleContainer", storage_account_name=example_account.name, container_access_type="private") example_storm_cluster = azure.hdinsight.StormCluster("exampleStormCluster", resource_group_name=example_resource_group.name, location=example_resource_group.location, cluster_version="3.6", tier="Standard", component_version={ "storm": "1.1", }, gateway={ "enabled": True, "username": "acctestusrgw", "password": "Password123!", }, storage_account=[{ "storage_container_id": example_container.id, "storage_account_key": example_account.primary_access_key, "isDefault": True, }], roles={ "head_node": { "vm_size": "Standard_A3", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, "worker_node": { "vm_size": "Standard_D3_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", "targetInstanceCount": 3, }, "zookeeper_node": { "vm_size": "Standard_A4_V2", "username": "acctestusrvm", "password": "AccTestvdSC4daf986!", }, })
- Parameters
resource_name (str) – The name of the resource.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Storm Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Storm Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Storm Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Storm Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Storm Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
storm(pulumi.Input[str]) - The version of Storm which should be used for this HDInsight Storm Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Storm Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
cluster_version: pulumi.Output[str] = None¶Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version: pulumi.Output[dict] = None¶A
component_versionblock as defined below.storm(str) - The version of Storm which should be used for this HDInsight Storm Cluster. Changing this forces a new resource to be created.
gateway: pulumi.Output[dict] = None¶A
gatewayblock as defined below.enabled(bool) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(str) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(str) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
https_endpoint: pulumi.Output[str] = None¶The HTTPS Connectivity Endpoint for this HDInsight Storm Cluster.
location: pulumi.Output[str] = None¶Specifies the Azure Region which this HDInsight Storm Cluster should exist. Changing this forces a new resource to be created.
name: pulumi.Output[str] = None¶Specifies the name for this HDInsight Storm Cluster. Changing this forces a new resource to be created.
resource_group_name: pulumi.Output[str] = None¶Specifies the name of the Resource Group in which this HDInsight Storm Cluster should exist. Changing this forces a new resource to be created.
roles: pulumi.Output[dict] = None¶A
rolesblock as defined below.headNode(dict) - Ahead_nodeblock as defined above.password(str) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(dict) - Aworker_nodeblock as defined below.minInstanceCount(float) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(str) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(float) - The number of instances which should be run for the Worker Nodes.username(str) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(dict) - Azookeeper_nodeblock as defined below.password(str) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(list) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(str) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(str) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(str) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(str) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
ssh_endpoint: pulumi.Output[str] = None¶The SSH Connectivity Endpoint for this HDInsight Storm Cluster.
storage_accounts: pulumi.Output[list] = None¶One or more
storage_accountblock as defined below.isDefault(bool) - Is this the Default Storage Account for the HDInsight Storm Cluster? Changing this forces a new resource to be created.storage_account_key(str) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(str) - The ID of the Storage Container. Changing this forces a new resource to be created.
A map of Tags which should be assigned to this HDInsight Storm Cluster.
tier: pulumi.Output[str] = None¶Specifies the Tier which should be used for this HDInsight Storm Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
- static
get(resource_name, id, opts=None, cluster_version=None, component_version=None, gateway=None, https_endpoint=None, location=None, name=None, resource_group_name=None, roles=None, ssh_endpoint=None, storage_accounts=None, tags=None, tier=None, tls_min_version=None)¶ Get an existing StormCluster resource’s state with the given name, id, and optional extra properties used to qualify the lookup.
- Parameters
resource_name (str) – The unique name of the resulting resource.
id (str) – The unique provider ID of the resource to lookup.
opts (pulumi.ResourceOptions) – Options for the resource.
cluster_version (pulumi.Input[str]) – Specifies the Version of HDInsights which should be used for this Cluster. Changing this forces a new resource to be created.
component_version (pulumi.Input[dict]) – A
component_versionblock as defined below.gateway (pulumi.Input[dict]) – A
gatewayblock as defined below.https_endpoint (pulumi.Input[str]) – The HTTPS Connectivity Endpoint for this HDInsight Storm Cluster.
location (pulumi.Input[str]) – Specifies the Azure Region which this HDInsight Storm Cluster should exist. Changing this forces a new resource to be created.
name (pulumi.Input[str]) – Specifies the name for this HDInsight Storm Cluster. Changing this forces a new resource to be created.
resource_group_name (pulumi.Input[str]) – Specifies the name of the Resource Group in which this HDInsight Storm Cluster should exist. Changing this forces a new resource to be created.
roles (pulumi.Input[dict]) – A
rolesblock as defined below.ssh_endpoint (pulumi.Input[str]) – The SSH Connectivity Endpoint for this HDInsight Storm Cluster.
storage_accounts (pulumi.Input[list]) – One or more
storage_accountblock as defined below.tags (pulumi.Input[dict]) – A map of Tags which should be assigned to this HDInsight Storm Cluster.
tier (pulumi.Input[str]) – Specifies the Tier which should be used for this HDInsight Storm Cluster. Possible values are
StandardorPremium. Changing this forces a new resource to be created.
The component_version object supports the following:
storm(pulumi.Input[str]) - The version of Storm which should be used for this HDInsight Storm Cluster. Changing this forces a new resource to be created.
The gateway object supports the following:
enabled(pulumi.Input[bool]) - Is the Ambari portal enabled? Changing this forces a new resource to be created.password(pulumi.Input[str]) - The password used for the Ambari Portal. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The username used for the Ambari Portal. Changing this forces a new resource to be created.
The roles object supports the following:
headNode(pulumi.Input[dict]) - Ahead_nodeblock as defined above.password(pulumi.Input[str]) - The Password associated with the local administrator for the Head Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Head Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Head Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Head Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Head Nodes. Changing this forces a new resource to be created.
workerNode(pulumi.Input[dict]) - Aworker_nodeblock as defined below.minInstanceCount(pulumi.Input[float]) - The minimum number of instances which should be run for the Worker Nodes. Changing this forces a new resource to be created.password(pulumi.Input[str]) - The Password associated with the local administrator for the Worker Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Worker Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.targetInstanceCount(pulumi.Input[float]) - The number of instances which should be run for the Worker Nodes.username(pulumi.Input[str]) - The Username of the local administrator for the Worker Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Worker Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Worker Nodes. Changing this forces a new resource to be created.
zookeeperNode(pulumi.Input[dict]) - Azookeeper_nodeblock as defined below.password(pulumi.Input[str]) - The Password associated with the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.sshKeys(pulumi.Input[list]) - A list of SSH Keys which should be used for the local administrator on the Zookeeper Nodes. Changing this forces a new resource to be created.subnet_id(pulumi.Input[str]) - The ID of the Subnet within the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.username(pulumi.Input[str]) - The Username of the local administrator for the Zookeeper Nodes. Changing this forces a new resource to be created.virtual_network_id(pulumi.Input[str]) - The ID of the Virtual Network where the Zookeeper Nodes should be provisioned within. Changing this forces a new resource to be created.vm_size(pulumi.Input[str]) - The Size of the Virtual Machine which should be used as the Zookeeper Nodes. Changing this forces a new resource to be created.
The storage_accounts object supports the following:
isDefault(pulumi.Input[bool]) - Is this the Default Storage Account for the HDInsight Storm Cluster? Changing this forces a new resource to be created.storage_account_key(pulumi.Input[str]) - The Access Key which should be used to connect to the Storage Account. Changing this forces a new resource to be created.storage_container_id(pulumi.Input[str]) - The ID of the Storage Container. Changing this forces a new resource to be created.
translate_output_property(prop)¶Provides subclasses of Resource an opportunity to translate names of output properties into a format of their choosing before writing those properties to the resource object.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
translate_input_property(prop)¶Provides subclasses of Resource an opportunity to translate names of input properties into a format of their choosing before sending those properties to the Pulumi engine.
- Parameters
prop (str) – A property name.
- Returns
A potentially transformed property name.
- Return type
str
pulumi_azure.hdinsight.get_cluster(name=None, resource_group_name=None, opts=None)¶Use this data source to access information about an existing HDInsight Cluster.
import pulumi import pulumi_azure as azure example = azure.hdinsight.get_cluster(name="example", resource_group_name="example-resources") pulumi.export("httpsEndpoint", example.https_endpoint)
- Parameters
name (str) – Specifies the name of this HDInsight Cluster.
resource_group_name (str) – Specifies the name of the Resource Group in which this HDInsight Cluster exists.