HDInsightOnDemandLinkedService Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of HDInsightOnDemandLinkedService.
public HDInsightOnDemandLinkedService (Azure.Core.Expressions.DataFactory.DataFactoryElement<int> clusterSize, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> timeToLiveExpression, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> version, Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference linkedServiceName, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> hostSubscriptionId, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> tenant, Azure.Core.Expressions.DataFactory.DataFactoryElement<string> clusterResourceGroup);
new Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandLinkedService : Azure.Core.Expressions.DataFactory.DataFactoryElement<int> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryLinkedServiceReference * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> * Azure.Core.Expressions.DataFactory.DataFactoryElement<string> -> Azure.ResourceManager.DataFactory.Models.HDInsightOnDemandLinkedService
Public Sub New (clusterSize As DataFactoryElement(Of Integer), timeToLiveExpression As DataFactoryElement(Of String), version As DataFactoryElement(Of String), linkedServiceName As DataFactoryLinkedServiceReference, hostSubscriptionId As DataFactoryElement(Of String), tenant As DataFactoryElement(Of String), clusterResourceGroup As DataFactoryElement(Of String))
Parameters
- clusterSize
- DataFactoryElement<Int32>
Number of worker/data nodes in the cluster. Suggestion value: 4. Type: int (or Expression with resultType int).
- timeToLiveExpression
- DataFactoryElement<String>
The allowed idle time for the on-demand HDInsight cluster. Specifies how long the on-demand HDInsight cluster stays alive after completion of an activity run if there are no other active jobs in the cluster. The minimum value is 5 mins. Type: string (or Expression with resultType string).
- version
- DataFactoryElement<String>
Version of the HDInsight cluster. Type: string (or Expression with resultType string).
- linkedServiceName
- DataFactoryLinkedServiceReference
Azure Storage linked service to be used by the on-demand cluster for storing and processing data.
- hostSubscriptionId
- DataFactoryElement<String>
The customer’s subscription to host the cluster. Type: string (or Expression with resultType string).
- tenant
- DataFactoryElement<String>
The Tenant id/name to which the service principal belongs. Type: string (or Expression with resultType string).
- clusterResourceGroup
- DataFactoryElement<String>
The resource group where the cluster belongs. Type: string (or Expression with resultType string).
Exceptions
clusterSize
, timeToLiveExpression
, version
, linkedServiceName
, hostSubscriptionId
, tenant
or clusterResourceGroup
is null.
Applies to
Azure SDK for .NET