Inheritance: UpdatePSDataSourceParameters
 protected void CreatePSDataSourceWithProperties(PSDataSourcePropertiesBase createParameters, string dataSourceName)
 {
     CreatePSDataSourceParameters parameters = new CreatePSDataSourceParameters()
     {
         Name = dataSourceName,
         Properties = createParameters,
         ResourceGroupName = this.ResourceGroupName,
         WorkspaceName = this.WorkspaceName,
         Force = Force.IsPresent,
         ConfirmAction = ConfirmAction
     };
     WriteObject(OperationalInsightsClient.CreatePSDataSource(parameters));
 }
        protected void CreatePSDataSourceWithProperties(PSDataSourcePropertiesBase createParameters, string dataSourceName)
        {
            CreatePSDataSourceParameters parameters = new CreatePSDataSourceParameters()
            {
                Name              = dataSourceName,
                Properties        = createParameters,
                ResourceGroupName = this.ResourceGroupName,
                WorkspaceName     = this.WorkspaceName,
                Force             = Force.IsPresent,
                ConfirmAction     = ConfirmAction
            };

            WriteObject(OperationalInsightsClient.CreatePSDataSource(parameters));
        }