lib/services/datafactoryManagement/lib/models/hDInsightOnDemandLinkedService.js
/**
   * Defines the metadata of HDInsightOnDemandLinkedService
   *
   * @returns {object} metadata of HDInsightOnDemandLinkedService
   *
   */
Defines the metadata of HDInsightOnDemandLinkedService
@returns {object} metadata of HDInsightOnDemandLinkedService
Defines the metadata of HDInsightOnDemandLinkedService @returns { object } metadata of HDInsightOnDemandLinkedService
mapper() {
    return {
      required: false,
      serializedName: 'HDInsightOnDemand',
      type: {
        name: 'Composite',
        polymorphicDiscriminator: {
          serializedName: 'type',
          clientName: 'type'
        },
        uberParent: 'LinkedService',
        className: 'HDInsightOnDemandLinkedService',
        modelProperties: {
          connectVia: {
            required: false,
            serializedName: 'connectVia',
            type: {
              name: 'Composite',
              className: 'IntegrationRuntimeReference'
            }
          },
          description: {
            required: false,
            serializedName: 'description',
            type: {
              name: 'String'
            }
          },
          parameters: {
            required: false,
            serializedName: 'parameters',
            type: {
              name: 'Dictionary',
              value: {
                  required: false,
                  serializedName: 'ParameterSpecificationElementType',
                  type: {
                    name: 'Composite',
                    className: 'ParameterSpecification'
                  }
              }
            }
          },
          annotations: {
            required: false,
            serializedName: 'annotations',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'ObjectElementType',
                  type: {
                    name: 'Object'
                  }
              }
            }
          },
          type: {
            required: true,
            serializedName: 'type',
            isPolymorphicDiscriminator: true,
            type: {
              name: 'String'
            }
          },
          clusterSize: {
            required: true,
            serializedName: 'typeProperties.clusterSize',
            type: {
              name: 'Object'
            }
          },
          timeToLive: {
            required: true,
            serializedName: 'typeProperties.timeToLive',
            type: {
              name: 'Object'
            }
          },
          version: {
            required: true,
            serializedName: 'typeProperties.version',
            type: {
              name: 'Object'
            }
          },
          linkedServiceName: {
            required: true,
            serializedName: 'typeProperties.linkedServiceName',
            defaultValue: {},
            type: {
              name: 'Composite',
              className: 'LinkedServiceReference'
            }
          },
          hostSubscriptionId: {
            required: true,
            serializedName: 'typeProperties.hostSubscriptionId',
            type: {
              name: 'Object'
            }
          },
          servicePrincipalId: {
            required: false,
            serializedName: 'typeProperties.servicePrincipalId',
            type: {
              name: 'Object'
            }
          },
          servicePrincipalKey: {
            required: false,
            serializedName: 'typeProperties.servicePrincipalKey',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: 'type',
                clientName: 'type'
              },
              uberParent: 'SecretBase',
              className: 'SecretBase'
            }
          },
          tenant: {
            required: true,
            serializedName: 'typeProperties.tenant',
            type: {
              name: 'Object'
            }
          },
          clusterResourceGroup: {
            required: true,
            serializedName: 'typeProperties.clusterResourceGroup',
            type: {
              name: 'Object'
            }
          },
          clusterNamePrefix: {
            required: false,
            serializedName: 'typeProperties.clusterNamePrefix',
            type: {
              name: 'Object'
            }
          },
          clusterUserName: {
            required: false,
            serializedName: 'typeProperties.clusterUserName',
            type: {
              name: 'Object'
            }
          },
          clusterPassword: {
            required: false,
            serializedName: 'typeProperties.clusterPassword',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: 'type',
                clientName: 'type'
              },
              uberParent: 'SecretBase',
              className: 'SecretBase'
            }
          },
          clusterSshUserName: {
            required: false,
            serializedName: 'typeProperties.clusterSshUserName',
            type: {
              name: 'Object'
            }
          },
          clusterSshPassword: {
            required: false,
            serializedName: 'typeProperties.clusterSshPassword',
            type: {
              name: 'Composite',
              polymorphicDiscriminator: {
                serializedName: 'type',
                clientName: 'type'
              },
              uberParent: 'SecretBase',
              className: 'SecretBase'
            }
          },
          additionalLinkedServiceNames: {
            required: false,
            serializedName: 'typeProperties.additionalLinkedServiceNames',
            type: {
              name: 'Sequence',
              element: {
                  required: false,
                  serializedName: 'LinkedServiceReferenceElementType',
                  type: {
                    name: 'Composite',
                    className: 'LinkedServiceReference'
                  }
              }
            }
          },
          hcatalogLinkedServiceName: {
            required: false,
            serializedName: 'typeProperties.hcatalogLinkedServiceName',
            type: {
              name: 'Composite',
              className: 'LinkedServiceReference'
            }
          },
          clusterType: {
            required: false,
            serializedName: 'typeProperties.clusterType',
            type: {
              name: 'Object'
            }
          },
          sparkVersion: {
            required: false,
            serializedName: 'typeProperties.sparkVersion',
            type: {
              name: 'Object'
            }
          },
          coreConfiguration: {
            required: false,
            serializedName: 'typeProperties.coreConfiguration',
            type: {
              name: 'Object'
            }
          },
          hBaseConfiguration: {
            required: false,
            serializedName: 'typeProperties.hBaseConfiguration',
            type: {
              name: 'Object'
            }
          },
          hdfsConfiguration: {
            required: false,
            serializedName: 'typeProperties.hdfsConfiguration',
            type: {
              name: 'Object'
            }
          },
          hiveConfiguration: {
            required: false,
            serializedName: 'typeProperties.hiveConfiguration',
            type: {
              name: 'Object'
            }
          },
          mapReduceConfiguration: {
            required: false,
            serializedName: 'typeProperties.mapReduceConfiguration',
            type: {
              name: 'Object'
            }
          },
          oozieConfiguration: {
            required: false,
            serializedName: 'typeProperties.oozieConfiguration',
            type: {
              name: 'Object'
            }
          },
          stormConfiguration: {
            required: false,
            serializedName: 'typeProperties.stormConfiguration',
            type: {
              name: 'Object'
            }
          },
          yarnConfiguration: {
            required: false,
            serializedName: 'typeProperties.yarnConfiguration',
            type: {
              name: 'Object'
            }
          },
          encryptedCredential: {
            required: false,
            serializedName: 'typeProperties.encryptedCredential',
            type: {
              name: 'Object'
            }
          },
          headNodeSize: {
            required: false,
            serializedName: 'typeProperties.headNodeSize',
            type: {
              name: 'Object'
            }
          },
          dataNodeSize: {
            required: false,
            serializedName: 'typeProperties.dataNodeSize',
            type: {
              name: 'Object'
            }
          },
          zookeeperNodeSize: {
            required: false,
            serializedName: 'typeProperties.zookeeperNodeSize',
            type: {
              name: 'Object'
            }
          }
        }
      }
    };
  }
mapper ( ) { return { required : false , serializedName : 'HDInsightOnDemand' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'type' , clientName : 'type' } , uberParent : 'LinkedService' , className : 'HDInsightOnDemandLinkedService' , modelProperties : { connectVia : { required : false , serializedName : 'connectVia' , type : { name : 'Composite' , className : 'IntegrationRuntimeReference' } } , description : { required : false , serializedName : 'description' , type : { name : 'String' } } , parameters : { required : false , serializedName : 'parameters' , type : { name : 'Dictionary' , value : { required : false , serializedName : 'ParameterSpecificationElementType' , type : { name : 'Composite' , className : 'ParameterSpecification' } } } } , annotations : { required : false , serializedName : 'annotations' , type : { name : 'Sequence' , element : { required : false , serializedName : 'ObjectElementType' , type : { name : 'Object' } } } } , type : { required : true , serializedName : 'type' , isPolymorphicDiscriminator : true , type : { name : 'String' } } , clusterSize : { required : true , serializedName : 'typeProperties.clusterSize' , type : { name : 'Object' } } , timeToLive : { required : true , serializedName : 'typeProperties.timeToLive' , type : { name : 'Object' } } , version : { required : true , serializedName : 'typeProperties.version' , type : { name : 'Object' } } , linkedServiceName : { required : true , serializedName : 'typeProperties.linkedServiceName' , defaultValue : { } , type : { name : 'Composite' , className : 'LinkedServiceReference' } } , hostSubscriptionId : { required : true , serializedName : 'typeProperties.hostSubscriptionId' , type : { name : 'Object' } } , servicePrincipalId : { required : false , serializedName : 'typeProperties.servicePrincipalId' , type : { name : 'Object' } } , servicePrincipalKey : { required : false , serializedName : 'typeProperties.servicePrincipalKey' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'type' , clientName : 'type' } , uberParent : 'SecretBase' , className : 'SecretBase' } } , tenant : { required : true , serializedName : 'typeProperties.tenant' , type : { name : 'Object' } } , clusterResourceGroup : { required : true , serializedName : 'typeProperties.clusterResourceGroup' , type : { name : 'Object' } } , clusterNamePrefix : { required : false , serializedName : 'typeProperties.clusterNamePrefix' , type : { name : 'Object' } } , clusterUserName : { required : false , serializedName : 'typeProperties.clusterUserName' , type : { name : 'Object' } } , clusterPassword : { required : false , serializedName : 'typeProperties.clusterPassword' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'type' , clientName : 'type' } , uberParent : 'SecretBase' , className : 'SecretBase' } } , clusterSshUserName : { required : false , serializedName : 'typeProperties.clusterSshUserName' , type : { name : 'Object' } } , clusterSshPassword : { required : false , serializedName : 'typeProperties.clusterSshPassword' , type : { name : 'Composite' , polymorphicDiscriminator : { serializedName : 'type' , clientName : 'type' } , uberParent : 'SecretBase' , className : 'SecretBase' } } , additionalLinkedServiceNames : { required : false , serializedName : 'typeProperties.additionalLinkedServiceNames' , type : { name : 'Sequence' , element : { required : false , serializedName : 'LinkedServiceReferenceElementType' , type : { name : 'Composite' , className : 'LinkedServiceReference' } } } } , hcatalogLinkedServiceName : { required : false , serializedName : 'typeProperties.hcatalogLinkedServiceName' , type : { name : 'Composite' , className : 'LinkedServiceReference' } } , clusterType : { required : false , serializedName : 'typeProperties.clusterType' , type : { name : 'Object' } } , sparkVersion : { required : false , serializedName : 'typeProperties.sparkVersion' , type : { name : 'Object' } } , coreConfiguration : { required : false , serializedName : 'typeProperties.coreConfiguration' , type : { name : 'Object' } } , hBaseConfiguration : { required : false , serializedName : 'typeProperties.hBaseConfiguration' , type : { name : 'Object' } } , hdfsConfiguration : { required : false , serializedName : 'typeProperties.hdfsConfiguration' , type : { name : 'Object' } } , hiveConfiguration : { required : false , serializedName : 'typeProperties.hiveConfiguration' , type : { name : 'Object' } } , mapReduceConfiguration : { required : false , serializedName : 'typeProperties.mapReduceConfiguration' , type : { name : 'Object' } } , oozieConfiguration : { required : false , serializedName : 'typeProperties.oozieConfiguration' , type : { name : 'Object' } } , stormConfiguration : { required : false , serializedName : 'typeProperties.stormConfiguration' , type : { name : 'Object' } } , yarnConfiguration : { required : false , serializedName : 'typeProperties.yarnConfiguration' , type : { name : 'Object' } } , encryptedCredential : { required : false , serializedName : 'typeProperties.encryptedCredential' , type : { name : 'Object' } } , headNodeSize : { required : false , serializedName : 'typeProperties.headNodeSize' , type : { name : 'Object' } } , dataNodeSize : { required : false , serializedName : 'typeProperties.dataNodeSize' , type : { name : 'Object' } } , zookeeperNodeSize : { required : false , serializedName : 'typeProperties.zookeeperNodeSize' , type : { name : 'Object' } } } } } ; }
Defines the metadata of HDInsightOnDemandLinkedService
 @returns {object} metadata of HDInsightOnDemandLinkedService
Defines the metadata of HDInsightOnDemandLinkedService @returns { object } metadata of HDInsightOnDemandLinkedService